Aperture iris
A camera aperture over some content. A hexagonal opening widens from a point until it clears the frame, or narrows again to close; the content shows through it, and the blade edges scale with it.

When to use
- Capture states, photo and video reveals.
- A reveal that should feel like a lens rather than a fade.
When not to use
- Content people need at once.
- Many on one screen.
Installation
terminal
pnpm dlx shadcn@latest add @caliper/aperture-iris
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
ApertureIris
2 props
Also accepts the native props of its root element and a ref.
PropTypeDefaultDescription
open *boolean—Opens the aperture when true and closes it when false.
children *ReactNode—What the aperture reveals: a photo, a video, a result.
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/aperture-iris.mdThe index of every part is at /llms.txt.
More in Media
RevealUncovers an image or a section as it scrolls into view, or when told to: a wipe from any edge, an iris from the middle, or blinds that open in stripes. Every effect cuts the content itself, and the content settles from a touch larger behind the edge.Scan viewfinderA camera viewfinder for scanning codes. While searching, four corner brackets breathe over the middle and a line sweeps down; when a code is found they close onto it, then turn green with a tick once read, or shake when it cannot be.Image compareTwo images stacked with a draggable divider.