ThiloDesign System
DV

Image Cell

Custom

Square image thumbnail inside a table cell. Hover reveals a larger preview via HoverCard. Works with any image URL — avatars, logos, attachments, product photos.

@/components/ui/image-cell

In context — hover any photo

PhotoNameRole
Dragana V.Design Lead
Marko K.Support Agent
Jovana B.QA Engineer
Stefan V.Account Mgr

Thumbnail sizes — size prop

sizePreviewUsage
24pxCompact rows, dense tables
32pxStandard table cell — default
40pxMedium density, wider rows
48pxSpacious layout, card grids

Preview sizes — previewSize prop

64px

96px — default

200px

240px

Hover each thumbnail to see the preview at that size.

Props

PropTypeDescription
srcstringImage URL — any format, any host. Use a CDN, storage bucket, or data URI.
altstringAlt text for accessibility and screen readers
sizenumberThumbnail size in px. Default: 32
previewSizenumberHover preview size in px. Default: 96
classNamestringExtra classes applied to the trigger button

The fallback icon shows automatically when the image fails to load — no extra error handling needed.

On this page