Atelier UI

Search components…

Search components…

Astryx Button Group

Segmented radio group with a spring-sliding glowing thumb and arrow-key navigation.

Edit in sandbox

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">

PropTypeDefaultDescription
options* requiredAstryxOption[]——
defaultValuestring——
onValueChange(value: string) => void——

Install

$ npx shadcn@latest add https://chromotion.dev/r/astryx-button-group.json

More like this