extend-hq

Button

Buttons 21

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

    472
  • File Upload

    File Upload

    384
  • Excel Viewer

    Excel Viewer

    332
  • File System (Finder)

    File System (Finder)

    164
  • CSV / TSV Viewer

    CSV / TSV Viewer

    87
  • File Upload

    File Upload

    77
  • Scroll Area

    Scroll Area

    17
  • Card

    Card

    11

More in Buttons

View all
  • Button

    Button

    166
  • Texture Button

    Texture Button

    121
  • Figma File Button

    Figma File Button

    39
  • Native Button

    Native Button

    12
  • Button

    Button

    88
  • HeroUI Button Group

    HeroUI Button Group

    11
  • Great UI Button

    Great UI Button

    19
  • Button

    Button

    7