Toggle Group
UI SDK ToggleGroup: toggles sharing one value with arrow-key focus, named by Field.
Example
toggle-group-demo.tsxCopy code
Installation
Copy code
Usage
ImportCopy code
API reference
ToggleGroup
Other exports
createToggleGroupControllerToggleToggleIcontoggleVariantstype ToggleGroupControllertype ToggleGroupStatetype ToggleGroupValueChangeReasonAccessibility
- One tab stop with arrow-key focus; single or multiple values.
Agent actions
Runs agent.snapshot() from @ui-sdk/react/agent on the live preview above.