Slide Confirm Button
Drag the knob (or press Enter) to confirm.
Try it: Drag the knob fully across, or press Enter.
Installation
Install with the shadcn CLI:
npx shadcn@latest add https://www.framekitui.live/r/slide-confirm-button.jsonOr, with the @framekit namespace registered: npx shadcn@latest add @framekit/slide-confirm-button. You can also copy the source into components/ui/slide-confirm-button.tsx (view on GitHub).
Usage
import { SlideConfirmButton } from '@/components/ui/slide-confirm-button'Related Buttons components
- Shimmer Chrome Button
Quiet chrome pill with a traveling shimmer.
- Googly Gaze Button
Eyes track the cursor and smirk on click.
- Orbit Commit
Hold to confirm while an icon orbits the rim.
- 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…
- Inkline Action
Text action with a seeded ink underline.
- 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…