UI95

Toggle Group

A row of pixel toggles for one or many choices.

Examples

Adefault
Boutline joined
Csm
Dlg
Evertical
Fdisabled

Installation

npx shadcn@latest add https://www.ui95.dev/r/toggle-group.json

Run it in a Radix shadcn project that already has the UI95 theme.

API reference

ToggleGroup

PropTypeDefault
orientation"vertical" | "horizontal""horizontal"
variant"default" | "outline"-
size"default" | "sm" | "lg"-
spacingnumber2

ToggleGroupItem

PropTypeDefault
variant"default" | "outline""default"
size"default" | "sm" | "lg""default"

Uses

Sounds

  • toggle.on
  • toggle.off
  • toggle.select

Updated Nov 5, 2026