Astryx Button Group
Segmented radio group with a spring-sliding glowing thumb and arrow-key navigation.
Copy a prompt for your AI coding tool with the source, dependencies and usage
Props
AstryxButtonGroupProps
Also accepts all props of Omit<React.ComponentProps<"div">, "onChange" | "defaultValue">
| Prop | Type | Default | Description |
|---|---|---|---|
| options* required | AstryxOption[] | — | — |
| defaultValue | string | — | — |
| onValueChange | (value: string) => void | — | — |
Install
$ npx shadcn@latest add https://chromotion.dev/r/astryx-button-group.json