SAEL

Toggle Group

Provides a shared state to a series of toggle buttons.

Made by imskyleen
Loading...

Installation

Usage

<ToggleGroup>
  <ToggleGroupItem>A</ToggleGroupItem>
  <ToggleGroupItem>B</ToggleGroupItem>
  <ToggleGroupItem>C</ToggleGroupItem>
</ToggleGroup>

Props

Animate UI Props

ToggleGroup

Prop

Type

ToggleGroupItem

Prop

Type

Credits

  • We use Base UI for the accordion component.
  • We take our inspiration from Shadcn UI for the accordion style.

On this page