Component packs › Fulcrum › Seesaw Toggle
A steel ball rolls across a painted plank, speeding up as it goes, knocks the far stop and holds that end down.
Seesaw Toggle is a toggle from Fulcrum, a component pack with 6 balance controls: Controls that weigh things: beams tip, pans swing and mobiles rebalance. Price: $2 for the whole pack.
Built with: ball and plank share one torque model, rolling ball, rubber stops.
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 | Accessible name. | |
text | [string, string] | Caption text for off and on. | |
onChange | (checked: boolean) => void | ||
theme | 'light' | 'dark' | ||
autoplay | number | false | Showcase mode: toggles itself every N ms while visible. |
readonly checked: booleansetChecked(checked: boolean, silent?: boolean): voiddestroy(): voidimport SeesawToggle from './SeesawToggle';
<SeesawToggle />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Skeuomorphic UI.