Wax Seal Button
A paper-and-ink send button: press it and a drop of wax falls into the slot and spreads into an uneven puddle, a brass stamp thumps down and lifts away leaving an embossed monogram, and the label settles on "Sealed & sent".
Try it: Click (or Enter) to seal; click again to reset.
Installation
Install with the shadcn CLI:
npx shadcn@latest add https://www.framekitui.live/r/wax-seal-button.jsonOr, with the @framekit namespace registered: npx shadcn@latest add @framekit/wax-seal-button. You can also copy the source into components/ui/wax-seal-button.tsx (view on GitHub).
Usage
import { WaxSealButton } from '@/components/ui/wax-seal-button'Props
| Prop | Type | Default | Notes |
|---|---|---|---|
label / busyLabel / sealedLabel / errorLabel | string | — | Copy for each state. |
monogram | string | 'M' | One or two letters pressed into the wax. |
accent | string | '#a3122a' | Wax colour. |
onSeal | () => void | Promise<unknown> | — | Runs while the wax pours; a returned promise holds the pour, a rejection shows the error state. |
resetAfter | number | 2800 | ms the sealed state is held; 0 keeps it sealed. |
disabled | boolean | false | Disables the button. |
Dependencies
motionlucide-react
Related Buttons components
- Googly Gaze Button
Eyes track the cursor and smirk on click.
- Confetti Burst Button
A celebratory primary action: the label rolls to a check while a cone of paper confetti (or your own glyphs) bursts from the button with real drag, gravity and tumble. The canvas exists only while…
- Slide Confirm Button
Drag the knob (or press Enter) to confirm.
- Radial Share Menu
Share pill folds into a close button while channel bubbles spring out on an arc; the pick glides to centre, becomes a check and really copies the link.
- Shimmer Chrome Button
Quiet chrome pill with a traveling shimmer.
- Cloud Launch Publish Button
The arrow launches out of the cloud on a puff of vapour, a progress seam draws along the bottom edge, and a check drops back into the cloud.