MUI

Button

Buttons 4

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 { Loader } from "lucide-react";

export default function ButtonLoading() {
  return (
    <div className="flex flex-wrap gap-4">
      <Button size="icon">
        <Loader className="w-4 h-4 animate-spin" /> {/* smaller icon */}
      </Button>
      <Button>
        <Loader className="w-4 h-4 animate-spin mr-2" />
        Please wait
      </Button>
    </div>
  );
}

More by MUI

View all
  • Preview Card

    Preview Card

    44
  • Toast

    Toast

    43
  • Scroll Area

    Scroll Area

    35
  • Select

    Select

    30
  • Accordion

    Accordion

    27
  • Number Field

    Number Field

    27
  • Popover

    Popover

    24
  • Context Menu

    Context Menu

    15

More in Buttons

View all
  • Texture Button

    Texture Button

    102
  • Button

    Button

    10
  • Button

    Button

    4
  • Native Button

    Native Button

    12
  • Button Group

    Button Group

    38
  • Button

    Button

    76
  • HeroUI Button Group

    HeroUI Button Group

    11
  • Split Button

    Split Button

    36