About
Related buttons joined into one control, with separators, text cells and fields between them.
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 { ArchiveIcon, ClockIcon, FlagIcon } from 'lucide-react';
import { Button } from '@/components/ui/button';
import { ButtonGroup } from '@/components/ui/panel-button-group';
export default function ButtonGroupOverview() {
return (
<ButtonGroup aria-label="Message actions">
<Button variant="outline">
<ArchiveIcon />
Archive
</Button>
<Button variant="outline">
<ClockIcon />
Snooze
</Button>
<Button variant="outline">
<FlagIcon />
Report
</Button>
</ButtonGroup>
);
}
















