import ’./Tile.css’

Examples

Basic tiles

Stacked tiles

Stacked tiles large

Extra content

Documentation

Overview

Accessibility

AttributeApplied toOutcome
tabindex="0".pf-v6-c-tileInserts the tile into the tab order of the page so that it is focusable. Required
tabindex="-1".pf-v6-c-tileRemoves the tile from keyboard focus when it is disabled.

Usage

ClassApplied toOutcome
.pf-v6-c-tile<div>Initiates a tile. Required
.pf-v6-c-tile__header<div>Initiates the tile header.
.pf-v6-c-tile__title<div>Initiates the tile title.
.pf-v6-c-tile__icon<div>Initiates the tile icon or image.
.pf-v6-c-tile__body<div>Initiates the tile body.
.pf-m-selected.pf-v6-c-tileModifies the tile for the selected state.
.pf-m-disabled.pf-v6-c-tileModifies the tile for the disabled state.
.pf-m-stacked.pf-v6-c-tile__headerModifies the tile header to be stacked vertically.
.pf-m-display-lg.pf-v6-c-tileModifies the tile to have large display styling.

CSS variables