export const title = "Button group components"
export const description = "Free and open-source React button group components built for modern applications and websites. These button groups are built using React Aria and styled with Tailwind CSS."
export const links = {
github: "https://github.com/untitleduico/react/tree/main/components/base/button-group",
rac: "https://react-spectrum.adobe.com/react-aria/ToggleButtonGroup.html"
}
import * as Demos from "@/components/base/button-group/button-group.demo.tsx";
## Installation
You can add this button group component using our CLI or manually:
```bash
npx untitledui@latest add button-group
```
Copy the files below into your project:
Great! Now you can start using the button group components in your project by just copy/pasting our examples below.
## Button group examples
Below are examples and variations of this button group component:
### Leading icon {{ tocOnly:true }}
### With dot {{ tocOnly:true }}
### Disabled {{ tocOnly:true }}
### Disabled individual item {{ tocOnly:true }}
### Selection {{ tocOnly:true }}
### Multiple selection {{ tocOnly:true }}