Smooth UI/Interactive/Liquid Toggle

Liquid Toggle

PressControls

Tactile toggle switch with liquid fill expansion, spring knob bounce, and haptic feedback on switch.

Interactive Live Stage
Instruction:Full multi-touch gesture support with touch-action isolation
⚙ Controls & Tuning
1 Parameters
Default Checkedtrue
Supported States:
OffOnDisabledLoading

Component Props & API

Type-safe React 19 interface properties supported by Liquid Toggle.

Prop NameTypeDefaultDescription
initialCheckedbooleantrueStarting toggle state
⌨ Keyboard Support

Tab focusable; Space / Enter to activate

📱 Touch & Gestures

Full multi-touch gesture support with touch-action isolation

⚡ Reduced Motion

Falls back to instant CSS transitions with zero continuous physics loops