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
  • 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

    4
  • App Store Button

    App Store Button

    453
  • Button

    Button

    47
  • Button

    Button

    4
  • Split Button

    Split Button

    14
  • Texture Button

    Texture Button

    92
  • Eclipse Button

    Eclipse Button

    39
  • Button

    Button

    32