Progress as a cassette tape: the tape moves from one reel to the other with each spool's diameter really changing, a plastic window with reflections and a counter. Drag to fast-forward or rewind.
Objects
A lens-style button with metal diaphragm blades that close and open on a spring. The ring shows the f-number.
Included in Pro and Lifetime. See pricing
Made with Furin: Pill Nav · Metal Button · Copy Morph
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | "Aperture" | Button text, shown below the lens. |
blades | number | 7 | Number of diaphragm blades. |
trigger | "click" | "hover" | "press" | "click" | How it closes: toggles on click, closes while hovered, or closes only while pressed. |
defaultClosed | boolean | false | In click mode, starts closed. |
size | number | 230 | Lens diameter, in px. |
light | string | "#a9dcff" | Color of the light visible through the opening. |
auto | boolean | false | Cycles through apertures from f/1.4 to f/22 on its own while nobody is touching it. |
onToggle | (closed: boolean) => void | undefined | Called on toggle (true = closed). |
disabled | boolean | false | Disables the button. |
1Set up the Pro registry once
Pro components aren't on npm or in the public shadcn registry: you install them with your license from Furin's private registry.
Use my license2Install Aperture Button
npx shadcn@latest add @furin-pro/ aperture-buttonPro components install into your project: the code is yours and there's nothing else to download.
Progress as a cassette tape: the tape moves from one reel to the other with each spool's diameter really changing, a plastic window with reflections and a counter. Drag to fast-forward or rewind.
Objects
A switch that flips a 3D metal coin: it spins in the air, bounces on the table and lands showing the other face.
Objects
A glass and wood hourglass: the grains really fall, the pile grows with its slope, and a click flips it.
Objects