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 Group

Toggle Group

ui

Manga-styled group of toggles (Base UI or Radix). By default (spacing 0) the toggles share one frame, split by a 2px line like the cells of a boxed Tabs; the pressed cell is an ink flat that sweeps in; hover thickens the line of a cell. With spacing above 0 each toggle is a framed button of its own. Orientation horizontal or vertical. Single and multiple selection come from the stock API (value / defaultValue arrays, multiple). Focus stays inside its cell. Gestures: G2 flat, G3 hover on cells, G4 impact.

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