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

    50
  • Toast

    Toast

    46
  • Scroll Area

    Scroll Area

    38
  • Select

    Select

    31
  • Accordion

    Accordion

    29
  • Number Field

    Number Field

    28
  • Popover

    Popover

    26
  • Navigation Menu

    Navigation Menu

    17

More in Buttons

View all
  • Button

    Button

    20
  • Button

    Button

    3
  • Button Group

    Button Group

    18
  • Button

    Button

    149
  • Icon Label Subtext Button

    Icon Label Subtext Button

    69
  • Button

    Button

    9
  • Button

    Button

    37
  • Texture Button

    Texture Button

    113