extend-hq

Button

Buttons 4

About

A button with variants and a built-in loading state powered by the Spinner 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

"use client";

import { Button } from "@/components/ui/button";
export default function Default() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center bg-background p-8">
      <div className="flex items-center gap-4">
        <Button size="xl">Button</Button>
        <Button size="xl" variant="outline">Secondary</Button>
      </div>
    </div>
  );
}

Dependencies

More by extend-hq

View all
  • PDF Viewer

    PDF Viewer

    441
  • Excel Viewer

    Excel Viewer

    325
  • File Upload

    File Upload

    288
  • File System (Finder)

    File System (Finder)

    153
  • CSV / TSV Viewer

    CSV / TSV Viewer

    80
  • File Upload

    File Upload

    63
  • Scroll Area

    Scroll Area

    13
  • Select

    Select

    10

More in Buttons

View all
  • Button Group

    Button Group

    2
  • App Store Button

    App Store Button

    457
  • Eclipse Button

    Eclipse Button

    6
  • Texture Button

    Texture Button

    95
  • Button

    Button

    5
  • Button Save

    Button Save

    47
  • Base Button

    Base Button

    3
  • HeroUI Button Group

    HeroUI Button Group