Component packs › Fulcrum › Seesaw Toggle

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.

Seesaw Toggle props

PropTypeDefaultDescription
checkedboolean
disabledboolean
labelstringAccessible name.
text[string, string]Caption text for off and on.
onChange(checked: boolean) => void
theme'light' | 'dark'
autoplaynumber | falseShowcase mode: toggles itself every N ms while visible.

Methods on the ref

Use it in React

import SeesawToggle from './SeesawToggle';

<SeesawToggle />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Fulcrum

Good for: Skeuomorphic UI.