Caprice LogoCaprice UI

Toggle

A two-state button that can be on or off.

Installation

npx shadcn@latest add @caprice/toggle

Usage

import { Toggle } from "@/components/caprice-ui/toggle"
<Toggle>Toggle</Toggle>

Examples

Sizes

Transparent

Outline

Icon only

Disabled