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>
);
}
















