Dev Design Library

Toggle Pro

An accessible switch with a springy squish animation on the thumb, an optional label + helper text, and a focus ring.

Toggle Pro preview
Library
ReactFrame
Framework
React
Type
component
License
MIT
Dependencies
clsx, motion, tailwind-merge
Install
npx shadcn@latest add https://reactframe.com/r/toggle-pro.json
Files
  • registry/new-york/toggle-pro/toggle-pro.tsx
Source
https://github.com/AhmetLoca/reactframe-public

Categories

More from ReactFrame