可以打开或关闭的双状态按钮。
¥Installation
pnpm dlx shadcn@latest add toggle
¥Usage
import { Toggle } from "@/components/ui/toggle"
<Toggle>Toggle</Toggle>
¥Examples
¥Default
¥Outline
¥With Text
¥Small
¥Large
¥Disabled
页面导航