Skip to Content
Kokonut UI

MD-05MediaNew, October 22, 2026

Contact Sheet

Pick from a shoot the way photographers do. Circle a frame in china marker, click again to strike it, and look through a loupe at the detail first.

Install with
lucide-react, motion

PROAudio Player Card and more like it are in Kokonut UI Pro

Installation

Contact Sheet is a free, open-source React component in the Kokonut UI Media collection. Add it with the shadcn CLI, which copies the source into components/kokonutui/contact-sheet.tsx, so the code is yours to change.

npx shadcn@latest add @kokonutui/contact-sheet

Or add it by hand: install its packages, then copy the source from Copy code above into components/kokonutui/contact-sheet.tsx.

npm install lucide-react motion

Usage

import ContactSheet from "@/components/kokonutui/contact-sheet";

export default function Example() {
  return <ContactSheet />;
}

Props

frames
ContactFrame[]Default demo data
perStrip
numberDefault 4

Frames per strip.

firstFrame
numberDefault 12

Printed on the film edge before each frame number.

title
stringDefault "Roll 14 · Lisbon"
defaultMarks
Record<number, Mark>Default { 1: "pick", 5: "reject", 8: "pick" }
onExport
(picked: number[]) => void
className
string

Extra classes for the root element.

ContactFrame

srcrequired
string

A 3:2 image.

altrequired
string
x
number

Where this frame sits in the shot, 0 to 1. Frames from one scene differ a little.

y
number
zoom
number

1 shows the whole image.

Mark

type Mark = "pick" | "reject";

Dependencies

NeedsVersionComes from
lucide-react^0.556.0npm, installed by the CLI
motion^12.23.25npm, installed by the CLI
cn from lib/utils.tsshadcn init
React19Your app
Tailwind CSS4Your app

No provider, font or global CSS to set up: the file works as soon as it lands.