1 slot open this monthBy the makers of shadcnregistryWe built shadcnregistry. Now we build your product.Book a callCheck availability
1 slot open this monthAI features?We build AI features into your product.Book a callCheck availability
1 slot open this month๐Ÿšจ Slop police๐Ÿšจ Slop police: we clean up vibe-coded apps.Report itReport your app
shadcnregistry
shadcnregistry
RegistryHealthInspect
Terms of ServicePrivacy Policy
  1. Registries
  2. mangacn
  3. Toggle

Toggle

ui

Manga-styled on/off button (Base UI or Radix toggle). Variants: default (frameless: inverts to ink on hover) and outline (2px frame on paper: lifts its tone shadow on hover). Sizes sm, default, lg. Off is paper; on (aria-pressed or data-state=on) is an ink flat that sweeps in over three frames. Click plays the impact (speed lines, 2px recoil). Disabled: dashed line, tone frame, label on paper, not-allowed cursor. Gestures: G2 flat, G3 hover, G4 impact.

pnpm dlx shadcn@latest add "https://mangacn.romain-sonnet.fr/r/toggle.json"
Premium blocks for shadcn/uiShadcnblocks.com ยท AffiliateExplore
  • cn
  • toggle
@ui/manga/toggle.tsx