About
A React button group component for grouping related buttons together. Used to display connected actions in a horizontal or vertical layout with consistent styling.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Button Group to your project and fits it to your theme.
Code
How Button Group is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Button, ButtonGroup } from "@/components/ui/tailgrids-button-group"
export default function ButtonGroupPreview() {
return (
<ButtonGroup>
<Button variant="secondary">Prev</Button>
<Button variant="secondary">10</Button>
<Button variant="secondary">Next</Button>
</ButtonGroup>
);
}
















