lipa88-mk

Button

Buttons

About

A multi-variant button component (Primary, Secondary, Tertiary, Ghost) with built-in loading spinner, icon placement, size, color, active/disabled states, plus a file-import button variant.

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

export default function ButtonLoadingDemo() {
  return (
    <div className="flex gap-4">
      <Button.Primary isLoading>Click me</Button.Primary>
      <Button.Secondary isLoading>Click me</Button.Secondary>
      <Button.Tertiary isLoading>Click me</Button.Tertiary>
      <Button.Ghost isLoading>Click me</Button.Ghost>
    </div>
  );
}

Dependencies

More by lipa88-mk

View all
  • Badges

    Badges

  • Checkbox

    Checkbox

  • Select

    Select

More in Buttons

View all
  • Hero Button

    Hero Button

    21
  • Button

    Button

    141
  • Eclipse Button

    Eclipse Button

    9
  • Button

    Button

    19
  • Texture Button

    Texture Button

    110
  • Random Letter Swap CTA Buttons

    Random Letter Swap CTA Buttons

    64
  • HeroUI Toggle Button

    HeroUI Toggle Button

  • Icon Label Subtext Button

    Icon Label Subtext Button

    65