Contact Sheet
Arrange images and captions on a staggered editorial contact sheet.
- Dependencies
- No extra packages
- Size
- 38 lines
- Controls
- 1 controls
Installation
CLI · shadcn registry
npx shadcn@latest add https://ui.onycx.dev/r/contact-sheet.json1 · Dependencies
None beyond React and Tailwind.
2 · Copy the source
components/onycx/contact-sheet.tsx
Requires React 19 and Tailwind CSS v4. Copy the source from the contact-sheet.tsx tab after tweaking: your values are baked in as the new defaults. Exported image examples use portable sample artwork. Replace it with your own media as needed.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| heading | string | — | Heading for this example. |
| items | SheetItem[] | — | Image, caption, surface color, and optional link for each frame. |