Dev Design Library

Squish Switch

Drag-scrubbable switch whose thumb stretches by how fast it moves, flips at the midpoint and squashes against the track end on a flick.

Squish Switch preview
Library
React Bits
Framework
React
Type
component
License
Commons-Clause+MIT
Install
npx shadcn@latest add @react-bits/SquishSwitch
Files
  • src/content/Micro/SquishSwitch/SquishSwitch.css
  • src/content/Micro/SquishSwitch/SquishSwitch.jsx
Source
https://github.com/DavidHDev/react-bits

Categories

More from React Bits