Skip to content
Design System
GitHub

One small square picture for a row, list or card at sm, md or lg: lazy and object-cover, with ImageGrid's fallback when it fails and a restricted placeholder that fetches nothing.

API reference

Generated from the types. Every part also takes className.

Thumbnail

src
stringThe picture. Left out (with no restricted), the neutral fallback shows.
alt
string = ""What the picture shows, e.g. "Forklift in aisle 3". "" when the row's own words already say it.
size
"sm" | "md" | "lg" = "sm"sm: --h-sm (36 px, 44 on touch) for a table row; md: --h-md (44); lg: --h-lg (48) for a list or a card's row.
restricted
boolean = falseThe viewer may not see it (faces, number plates, a restricted tier): a neutral placeholder, and nothing is fetched.
reason
stringWhy it is hidden, e.g. "Restricted · faces": the placeholder's accessible name and its tooltip.
labels
Partial<ThumbnailLabels>The words it says, to translate them.