preskok/ui

A toggle button component with multiple variants.

Installation

pnpm dlx @preskok-org/ui@latest add toggle

Usage

import { Toggle } from "@/registry/preskok/ui/preskok-ui/toggle"
 
export function ToggleDemo() {
  return <Toggle>Toggle me</Toggle>
}