Toggle

Switch between on & off states, and group them with single or multiple selection.

Installation

pnpm add @base-ui/react motion

Examples

Free, accessible React toggle components built with Base UI for button groups, filter options, and multi-select tools with pressed states.

Base


Group Base

A group of toggle buttons for text alignment.


Static

Open and close instantly, without animation.