Skip to main content

TileCard

A large-icon launcher/navigation tile (great for IRE / 10-foot menus).

Signature
Density
Viewport
Theme and light/dark are set in the top bar
Live demo
Open ↗

When to use​

A large-icon launcher/navigation tile (great for IRE / 10-foot menus).

Accessibility​

When the whole card is actionable, expose a single accessible name and make it reachable with Tab + Enter. Decorative imagery uses empty alt.

Install and import​

npx shadcn@latest add @prism/tile-card
import { TileCard } from '@/components/prism/TileCard';

In a no-build prototype, read it from the bundle instead: const { TileCard } = window.PrismDesignSystem_39d121;

Props​

PropTypeRequiredDescription
iconReact.ReactNode—Large leading icon node (decorative — the title names the tile).
titleReact.ReactNode—
descriptionReact.ReactNode—
onPress(e: React.MouseEvent<HTMLButtonElement>) => void—Makes the title a button whose hit area covers the tile.
hrefstring—Makes the title a link (through LinkProvider) whose hit area covers the tile.
linkComponentLinkComponent—Overrides LinkProvider's link component for this tile.
titleAs"h1" | "h2" | "h3" | "h4" | "h5" | "h6"—The title's heading element. Default "h3".
size"xs" | "sm" | "md" | "lg"—Tile scale. "md" (default) suits big launcher/TV menus; "sm" fits a 4-up dashboard grid (e.g. "Medical Centre" on one line at 1280px); "xs" is a compact row (small icon beside a body-size title) for dense settings grids; "lg" for 10-foot screens.
hue"rose" | "orange" | "amber" | "green" | "teal" | "blue" | "violet" | "magenta"—A categorical identity: the icon tile takes the hue (and the tile's focus ring).
isDisabledboolean—An unavailable tile: greyed out and not focusable. Say why in description.
classNamestring—