Switch
Toggle between on and off.
Installation
pnpm dlx apen-ui@latest add switchAlso installsradix-ui
Manual installation
Copy the source into components/ui/switch.tsx and install radix-ui.
components/ui/switch.tsx
Toggle between on and off.
pnpm dlx apen-ui@latest add switchCopy the source into components/ui/switch.tsx and install radix-ui.