Forms · ui · 3K

Toggle

Two-state push button that stays inverted while on; rounded or square-cornered tool style.

Install

pnpm dlx shadcn@latest add @s7ui/toggle

Example

This example also uses @s7ui/bitmap.

Info

Files:
components/ui/toggle.tsx
Uses:
@s7ui/theme
Packages:
radix-ui, class-variance-authority