Prism UI

Button Group

Buttons 3

About

A versatile button group component for organizing related actions with consistent spacing and visual connection.

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

"use client";

import { Button } from "@/components/ui/button";
import { ButtonGroup } from "@/components/ui/button-group";

function ButtonGroupDemo() {
  return (
    <div className="flex min-h-[400px] w-full items-center justify-center p-4">
        <div className="space-y-3">
          <ButtonGroup>
            <Button>Copy</Button>
            <Button>Save</Button>
            <Button>Delete</Button>
          </ButtonGroup>
        </div>
    </div>
  );
}

export { ButtonGroupDemo };

Dependencies

More by Prism UI

View all
  • Display Cards

    Display Cards

    5.5K
  • Pricing

    Pricing

    3.9K
  • Expandable Card

    Expandable Card

    340
  • Floating Action Panel

    Floating Action Panel

    198
  • Hero Badge

    Hero Badge

    161
  • useExpandable

    useExpandable

    137
  • Logo Carousel

    Logo Carousel

    132
  • Icons

    Icons

    129

More in Buttons

View all
  • Texture Button

    Texture Button

    97
  • Button

    Button

    5
  • Button Group

    Button Group

  • Eclipse Button

    Eclipse Button

    39
  • Button

    Button

    4
  • HeroUI Button Group

    HeroUI Button Group

  • App Store Button

    App Store Button

    458
  • Base Button

    Base Button

    4