Docs
Toggle

Toggle

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

Installation

npx @pujan-modha/pm-ui add toggle

Usage

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

Examples

Default

Outline

With Text

Small

Large

Disabled