Ink Bloom Toggle
Track fills with a blooming ink blot when on.
Try it: Click — ink blooms across the track.
Installation
Install with the shadcn CLI:
npx shadcn@latest add https://www.framekitui.live/r/ink-bloom-toggle.jsonOr, with the @framekit namespace registered: npx shadcn@latest add @framekit/ink-bloom-toggle. You can also copy the source into components/ui/ink-bloom-toggle.tsx (view on GitHub).
Usage
import { InkBloomToggle } from '@/components/ui/ink-bloom-toggle'Props
| Prop | Type | Default | Notes |
|---|---|---|---|
checked | boolean | — | Controlled on/off state. |
defaultChecked | boolean | false | Uncontrolled initial state. |
onCheckedChange | (checked: boolean) => void | — | Fires when the value flips. |
disabled | boolean | false | Disables pointer and keyboard. |
Related Toggles components
- Pulsebeat Switch
Soft heartbeat pulse when on; flat when off.
- Mood Dial Toggle
Tiny face dial springs between two moods.
- Frameflip Toggle
Tiny illustrated card flips between two states.
- Blinker Switch
Classic switch whose knob blinks like an eyelid.
- Moth Lantern Toggle
A moth settles into lantern glow when on.
- Cosmic Sparkle Toggle
OFF/ON pill with a glowing star badge and halo.