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

    47
  • Toast

    Toast

    46
  • Scroll Area

    Scroll Area

    37
  • Select

    Select

    31
  • Accordion

    Accordion

    28
  • Number Field

    Number Field

    28
  • Popover

    Popover

    25
  • Navigation Menu

    Navigation Menu

    17

More in Buttons

View all
  • Texture Button

    Texture Button

    108
  • Button

    Button

    14
  • Notification Button

    Notification Button

    117
  • HeroUI Button Group

    HeroUI Button Group

    2
  • Eclipse Button

    Eclipse Button

    44
  • Button Save

    Button Save

    50
  • App Store Button

    App Store Button

    484
  • Base Button

    Base Button

    1