stylexcn

Toggle

Latching button with variant and size.

Preview

Installation

pnpm dlx shadcn@latest add https://stylexcn.vercel.app/r/toggle.json
pnpm dlx shadcn@latest add @stylexcn/toggle

Usage

<Toggle>Italic</Toggle>
<Toggle variant="outline" pressed>Italic</Toggle>