Skip to content
ProLifetime access for $199, paid once, every future release included
Truffle UI

Contact Sheet

ProNew

Inspect a photographic contact sheet and develop the selected frame in a lightbox-style viewer.

Installation

pnpm dlx shadcn@latest add @viewport/contact-sheet

First time? Add the @viewport registry to components.json. Setup takes one minute.

Usage

The code behind the preview above comes with Truffle Pro.

Props

PropTypeDefault
roll*string

Name of the film roll or photo collection.

—
frames*Frame[]

Ordered image URLs with alt text, captions and stable IDs.

—
onSelect(id: string) => void

Receives the selected frame ID.

—

Accessibility

  • Every thumbnail has a named button. Captions and frame numbers update with the selected photograph.