miladjoodi

Button

Buttons

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";

export default function ButtonDemo() {
  return (
    <div dir="rtl" className="flex flex-wrap items-center gap-3">
      <Button>پیش‌فرض</Button>
      <Button variant="secondary">ثانویه</Button>
      <Button variant="outline">حاشیه‌دار</Button>
      <Button variant="ghost">شفاف</Button>
      <Button variant="destructive">خطرناک</Button>
      <Button variant="link">لینک</Button>
    </div>
  );
}

Dependencies

More by miladjoodi

View all
  • Image Diff Slider

    Image Diff Slider

    36
  • Empty State

    Empty State

  • Avatar

    Avatar

  • Phone Input

    Phone Input

  • Item

    Item

  • Signature Pad

    Signature Pad

  • Hover Card

    Hover Card

  • File Upload

    File Upload

More in Buttons

View all
  • Button

    Button

    18
  • Texture Button

    Texture Button

    110
  • Eclipse Button

    Eclipse Button

    45
  • Astryx Chat Send Button

    Astryx Chat Send Button

    4
  • Button Group

    Button Group

  • Button

    Button

    140
  • Button

    Button

    37
  • Random Letter Swap CTA Buttons

    Random Letter Swap CTA Buttons

    63