Ambient UI

Command Palette

Search for a command to run...

Toggle Group

A set of two-state buttons that can be toggled on or off.

Usage

import { ToggleGroup } from "@smartacteam/ambient-web/toggle-group";
<ToggleGroup.Group type="multiple">
  <ToggleGroup.Item value="a">A</ToggleGroup.Item>
  <ToggleGroup.Item value="b">B</ToggleGroup.Item>
  <ToggleGroup.Item value="c">C</ToggleGroup.Item>
</ToggleGroup.Group>