Tiles

The Tiles category in the @bentley/ui-core package includes the Tile, FeaturedTile, MinimalTile and MinimalFeaturedTile components. Tiles are components for a container rendering elements that can be grouped together.

The TileProps interface specifies the properties for all of the Tile components.

Examples

Normal Tile

A "normal" Tile has a light gray background.

<Tile title="Normal Tile" icon="icon-placeholder">
  <a>Link 1</a>
  <a>Link 2</a>
</Tile>

tile

A FeaturedTile has a green background.

<FeaturedTile title="Featured Tile" icon="icon-placeholder">
  <a>Link 1</a>
  <a>Link 2</a>
</FeaturedTile>

tile featured

Minimal Tile

A MinimalTile has a reduced size.

<MinimalTile title="Minimal Tile" icon="icon-placeholder" />

tile minimal

A MinimalFeaturedTile has both a green background and a reduced size.

<MinimalFeaturedTile title="Minimal Featured Tile" icon="icon-placeholder" />

tile minimal featured

Tiles with stepNum Prop

The stepNum prop circulates through 16 pre-defined background colors that are shades of green, teal and blue.

<MinimalFeaturedTile stepNum={0} title="Tile stepNum={0}" icon="icon-placeholder" />
<MinimalFeaturedTile stepNum={6} title="Tile stepNum={6}" icon="icon-placeholder" />
<MinimalFeaturedTile stepNum={9} title="Tile stepNum={9}" icon="icon-placeholder" />
<MinimalFeaturedTile stepNum={15} title="Tile stepNum={15}" icon="icon-placeholder" />

tile stepNum

API Reference

Last Updated: 12 June, 2024