About
A clickable button for triggering actions, with filled, outline, secondary, ghost, destructive and link variants, multiple sizes, icon support and an as-link render mode.
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
"use client";
import { Button } from "@/components/ui/button";
import { CircleFadingArrowUpIcon, GitBranch, GitFork } from "lucide-react";
export default function IconButtonDemo() {
return (
<div dir="rtl" className="flex flex-wrap items-center gap-2">
<Button variant="outline">
فورک
<GitFork data-icon="inline-end" />
</Button>
<Button variant="outline">
<GitBranch data-icon="inline-start" /> شاخه جدید
</Button>
<Button variant="outline" size="icon" aria-label="آیکونی">
<CircleFadingArrowUpIcon />
</Button>
</div>
);
}













