Skip to content
caliper ui pro docs

Polaroid develop

An instant photo. The print slides out of the camera's slot, then the picture comes up out of a pale, soft cloud until the colours and edges are all there, over a few seconds.

Pro
Two boats at anchor in a harbour at dawn
Harbour, 6:40

When to use

  • Photo reveals on landing pages and memory features.
  • A moment of anticipation before an image.

When not to use

  • Product photos people need to judge at once.
  • Lists of many prints; each develops on its own.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/polaroid-develop

Adds its 2 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.

API reference

PolaroidDevelop

6 props

Also accepts the native props of its root element and a ref.

PropTypeDefaultDescription
src *string—
alt *string—
captionstring—Handwritten under the photo.
secondsnumber5Seconds the picture takes to come up.
runnumber0Change this number to print and develop it again.
onDeveloped(() => void)—Called when the picture has fully developed.

Keyboard

  • No custom key handling; Tab and the native activation keys do the work.

Accessibility

It is built on native elements and keeps aria-hidden in step with state.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/polaroid-develop.md

The index of every part is at /llms.txt.

More in Media