Dev Design Library

Toggle

A shadcn-style toggle component built with Ark UI primitives.

Toggle preview
Library
ark-cn
Framework
React
Type
ui
Dependencies
@ark-ui/react, class-variance-authority
Install
npx shadcn@latest add @ark-cn/toggle
Files
  • src/components/ui/toggle.tsx
  • src/lib/utils.ts
Source
https://github.com/RajaARK99/ark-cn

Categories

More from ark-cn