MUI

Button

Buttons 1

About

Here is Button component

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Button to your project and fits it to your theme.

Code

How Button is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { Button } from "@/components/ui/button";
import { SendHorizonal, Trash } from "lucide-react";

export default function ButtonDemo() {
  return (
    <div className="flex flex-wrap gap-4">
      <Button size="icon">
        <SendHorizonal className="w-4 h-4" /> {/* smaller */}
      </Button>
      <Button>
        Send <SendHorizonal className="w-4 h-4 ml-2" /> {/* spacing on right */}
      </Button>
      <Button variant="destructive">
        <Trash className="w-4 h-4 mr-2" /> Delete {/* spacing on left */}
      </Button>
    </div>
  );
}

More by MUI

View all
  • Toast

    Toast

    41
  • Preview Card

    Preview Card

    40
  • Scroll Area

    Scroll Area

    34
  • Select

    Select

    29
  • Number Field

    Number Field

    27
  • Popover

    Popover

    24
  • Accordion

    Accordion

    23
  • Navigation Menu

    Navigation Menu

    15

More in Buttons

View all
  • Button

    Button

    5
  • App Store Button

    App Store Button

    453
  • Button

    Button

    47
  • Eclipse Button

    Eclipse Button

    39
  • Button

    Button

    4
  • Texture Button

    Texture Button

    92
  • Split Button

    Split Button

    14
  • Button

    Button

    32