Safe Dial
ProA safe's combination dial: turn it by dragging, each number registers when you hold still on it, and when you get it right the door swings open with a clack.
Objects
Code entry with an old rotary telephone dial: drag from the finger hole to the stop and it springs back, with clicks.
Included in Pro and Lifetime. See pricing
Made with Furin: Pill Nav · Metal Button · Copy Morph
| Prop | Type | Default | Description |
|---|---|---|---|
length | number | 4 | Number of digits in the code. |
sound | boolean | true | Synthesized clicks and spring sound (only after a user interaction). |
secret | string | "" | The correct code: if set, a green or red light signals the result when complete. |
auto | boolean | false | Dials an example code on its own when nobody touches it. |
size | number | 300 | Dial diameter, in px. |
label | string | "CODE" | Text printed on the center card. |
onChange | (code: string) => void | undefined | Called every time the dialed code changes. |
onComplete | (code: string) => void | undefined | Called when the last digit is dialed. |
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 Rotary Dial
npx shadcn@latest add @furin-pro/ rotary-dialPro components install into your project: the code is yours and there's nothing else to download.
A safe's combination dial: turn it by dragging, each number registers when you hold still on it, and when you get it right the door swings open with a clack.
Objects
A record sleeve from which a vinyl slides out, with grooves and anisotropic reflection; it spins on its own, and dragging across it scratches it: it slows, reverses and returns to speed, with optional synthesized scratch sound.
Objects
A paper envelope with an embossed wax seal (real lighting with SVG filters): on click the wax breaks into fragments that roll across the table, the flap opens in 3D and the letter (children) slides out.
Objects