Dev Design Library

Bell Toggle

Pill toggle that answers a press at three tempos: the bell rings on damped keyframes, the label blur-crossfades, and the pill unfurls to the longer label through a clip-path on a critically damped spring. The pressed state is the receipt.

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

Categories

More from React Bits