Command Palette
Search for a command to run...
Loading...
Loading...
Bring your actions together with a clean, ready-to-use component. Built with Tailwind CSS, shadcn ui, and Base UI, it keeps borders smooth and alignment perfect. Copy the code and start using it instantly.
UIAble Button Group is a structural layout component designed to seamlessly connect multiple related buttons. Built using shadcn ui components and Base UI principles, it manages the alignment, spacing, and unified styling of grouped actions while maintaining proper accessibility.
Unlike other traditional UI libraries, this component isn’t tied to an npm package. You get the actual source code in your project directly so you can easily edit, customize and extend it however you want.
It uses Tailwind CSS that makes styling simple. Even tricky things like merging borders and rounding only the outer corners are handled cleanly, so your design stays neat and consistent.
UIAble Button Group abstracts away the frustrating CSS complexities of grouping elements specifically handling adjacent borders and outer corner rounding. It follows Base UI principles, ensuring that grouped buttons remain logically connected for assistive technologies while retaining their individual focus states and keyboard navigation capabilities.
Since the code lives completely inside your project, there is absolutely zero dependency lock-in. You have total control over the component architecture, making it trivial to inject custom active-state logic, alter flex layouts, or modify behavior based on your specific application requirements.
It works well with Tailwind CSS and CVA (class-variance-authority), so you can group buttons like sm, md, or lg buttons easily. The parent group automatically maintains a cohesive, type-safe design without requiring messy, hardcoded conditional CSS strings.
UIAble Button Group is designed for highly composable UI architectures. It seamlessly supports wrapping standard UIAble Buttons, icon buttons, and custom dropdown triggers without disrupting the DOM hierarchy or breaking accessibility tree structures.
You can effortlessly integrate it into advanced layouts such as:
It also fully respects your global design system. If you update your primary colors, border radii, or spacing variables in your Tailwind configuration, the Button Group will automatically inherit and reflect those changes instantly.