Forms
Toggle
A button that stays pressed, alone or in a group with one tab stop.
src/components/ui/toggle.tsxBehavior from @ui-sdk/react/toggle
Text toolbar
Import
tsx
import { Toggle, ToggleGroup } from "@/components/ui/toggle";Guidelines
- The label stays the same in both states; screen readers announce the pressed state.