Components

Toggle Group

Provides a shared state to a series of toggle buttons.

Stable
GitHub

Anatomy

Anatomy
import {Toggle, ToggleGroup} from '@staffbase/design';

<ToggleGroup>
  <Toggle />
</ToggleGroup>;

Examples

Multiple selection

By default only one item in the group can be pressed at a time. Set multiple to let the user press several.

API reference

ToggleGroup

Inherits props fromBase UI Toggle Group

Toggle

Use Toggle for each item inside the group. Give each one a unique value.