Tile

Available since 1.0.0

A tile component can be used to display information in a simple container format.

The component is ideal for displaying collection data when a grid or list layout is preferred. See tile-grid.

Although the following examples use the <h3> tag for the title element, the styling provided by Fiori Fundamentals will remain consistent for any heading level used. <h1> should be reserved for the page title.

Simple Tile

Tile Title

Tile Description

<div class="fd-tile">
    <div class="fd-tile__content">
        <h3 class="fd-tile__title">Tile Title</h3>
        <p>Tile Description</p>
    </div>
</div>


Tile with .fd-media container

Tile Title


Tile Title

Tile Description


Tile Title


Tile Title

Tile Description

<div class="fd-tile">
    <div class="fd-tile__media">
        <span class=" fd-identifier--m fd-identifier--transparent sap-icon--home"></span>
    </div>
    <div class="fd-tile__content">
        <h3 class="fd-tile__title">Tile Title</h3>
    </div>
</div>

<br>

<div class="fd-tile">
    <div class="fd-tile__media">
        <span class=" fd-identifier--m sap-icon--home fd-has-background-color-accent-3"></span>
    </div>
    <div class="fd-tile__content">
        <h3 class="fd-tile__title">Tile Title</h3>
        <p>Tile Description</p>
    </div>
</div>

<br>

<div class="fd-tile">
    <div class="fd-tile__media">
        <span class=" fd-image--m" aria-label="TILE_MEDIA_ALT" style="background-image: url('http://api.adorable.io/avatars/50/rodney.artichoke@hybris.com.png');"></span>
    </div>
    <div class="fd-tile__content">
        <h3 class="fd-tile__title">Tile Title</h3>
    </div>
</div>

<br>

<div class="fd-tile">
    <div class="fd-tile__media">
        <span class=" fd-image--m fd-image--circle" aria-label="TILE_MEDIA_ALT" style="background-image: url('http://api.adorable.io/avatars/50/rodney.artichoke@hybris.com.png');"></span>
    </div>
    <div class="fd-tile__content">
        <h3 class="fd-tile__title">Tile Title</h3>
        <p>Tile Description</p>
    </div>
</div>

Tile with .fd-actions container

<div class="fd-tile">
    <div class="fd-tile__content">
        <h3 class="fd-tile__title">Tile Title</h3>
    </div>
    <div class="fd-tile__actions">
        <div class="fd-popover fd-popover--right">
            <div class="fd-popover__control">
                <button class="fd-button--light sap-icon--overflow" aria-label="More" aria-expanded="false"
                    aria-controls="WQIDD179" aria-haspopup="true"></button>
            </div>
            <div class="fd-popover__body fd-popover__body--right fd-popover__body--no-arrow" aria-hidden="true" id="WQIDD179">
                <nav class="fd-menu" id="">
                    <ul class="fd-menu__list">
                        <li><a href="#" class="fd-menu__item">Option 1</a></li>
                        <li><a href="#" class="fd-menu__item">Option 2</a></li>
                        <li><a href="#" class="fd-menu__item">Option 3</a></li>
                    </ul>
                </nav>
            </div>
        </div>
    </div>
</div>


Tile as a Button

Add role=button to rendering a tile as a button

Tile Title

<div class="fd-tile" role="button">
    <div class="fd-tile__content">
        <h3 class="fd-tile__title">Tile Title</h3>
    </div>
</div>


Product Tile

fd-product-tile can be used to display product information.

Default Product Tile

Product Tile Button

<div class="fd-product-tile">
    <div class="fd-product-tile__media" style="background-image: url('https://techne.yaas.io/images/product-thumbnail-wide.png');"></div>
    <div class="fd-product-tile__content">
        <h3 class="fd-product-tile__title">Default Product Tile</h3>
    </div>
</div>

<div class="fd-product-tile" role="button">
    <div class="fd-product-tile__media" style="background-image: url('https://techne.yaas.io/images/product-thumbnail-wide.png');"></div>
    <div class="fd-product-tile__content">
        <h3 class="fd-product-tile__title">Product Tile Button</h3>
    </div>
</div>


Disabled state

Add class is-disabled and/or aria-disabled="true" attribute

Tile Title


Tile Title


Disabled Product Tile

<div class="fd-tile" aria-disabled="true">
    <div class="fd-tile__content">
        <h3 class="fd-tile__title">Tile Title</h3>
    </div>
</div>

<br>

<div class="fd-tile" aria-disabled="true">
    <div class="fd-tile__media">
        <span class=" fd-identifier--m fd-identifier--transparent sap-icon--home"></span>
    </div>
    <div class="fd-tile__content">
        <h3 class="fd-tile__title">Tile Title</h3>
    </div>
</div>

<br>

<div class="fd-product-tile" aria-disabled="true">
    <div class="fd-product-tile__media" style="background-image: url('https://techne.yaas.io/images/product-thumbnail-wide.png');"></div>
    <div class="fd-product-tile__content">
        <h3 class="fd-product-tile__title">Disabled Product Tile</h3>
    </div>
</div>