Component packs › Rime › Frost Switch
Switch it on and frost crystals grow in from the rim of the track until they meet; switch it off and they melt into running beads.
Frost Switch is a toggle from Rime, a component pack with 6 ice controls: Controls made of ice: frost that grows, panes that crack and water that freezes. Price: $2 for the whole pack.
Built with: branching crystal growth, ice cube thumb, melt to droplets.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
checked | boolean | ||
disabled | boolean | ||
label | string | ||
size | number | Scale factor. 1 = 104 × 44 px. | |
seed | number | Seed for the crystal pattern. | |
onChange | (checked: boolean) => void | ||
autoplay | number | false |
readonly checked: booleansetChecked(checked: boolean, silent?: boolean): voiddestroy(): voidimport FrostSwitch from './FrostSwitch';
<FrostSwitch />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Toggle switches, Loaders and progress, Physics UI components.