TailGrids

Button Group

Buttons

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>
  );
}

Dependencies

More by TailGrids

View all
  • Text Field

    Text Field

  • Spinner

    Spinner

  • Number Field

    Number Field

  • Breadcrumbs

    Breadcrumbs

  • Radio Button

    Radio Button

  • Field

    Field

  • Social Login Buttons

    Social Login Buttons

  • Link

    Link

More in Buttons

View all
  • Texture Button

    Texture Button

    122
  • Button

    Button

    172
  • HeroUI Button Group

    HeroUI Button Group

    1
  • Button

    Button

    88
  • Native Button

    Native Button

    7
  • Button

    Button

    74
  • Button Group

    Button Group

    5
  • Button

    Button

    21