alwkala

Qahera Button

Buttons

About

A configurable button with multiple variants, color tones, sizes, shapes and styles (solid, gradient, light, outline), plus built-in loading spinner and leading/trailing icon slots.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Qahera Button to your project and fits it to your theme.

Code

How Qahera 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 ButtonToneStylesDemo() {
  return (
    <div className="flex flex-col gap-6 p-6">
      <div className="flex flex-wrap gap-3">
        <Button tone="primary" buttonStyle="gradient">
          Primary
        </Button>
        <Button tone="secondary" buttonStyle="gradient">
          Secondary
        </Button>
        <Button tone="info" buttonStyle="gradient">
          Info
        </Button>
        <Button tone="success" buttonStyle="gradient">
          Success
        </Button>
        <Button tone="danger" buttonStyle="gradient">
          Danger
        </Button>
        <Button tone="warning" buttonStyle="gradient">
          Warning
        </Button>
      </div>
      <div className="flex flex-wrap gap-3">
        <Button tone="default" buttonStyle="outline">
          Default
        </Button>
        <Button tone="primary" buttonStyle="outline">
          Primary
        </Button>
        <Button tone="secondary" buttonStyle="outline">
          Secondary
        </Button>
        <Button tone="success" buttonStyle="outline">
          Success
        </Button>
        <Button tone="danger" buttonStyle="outline">
          Danger
        </Button>
        <Button tone="warning" buttonStyle="outline">
          Warning
        </Button>
      </div>
      <div className="flex flex-wrap gap-3">
        <Button tone="primary" buttonStyle="light">
          Primary
        </Button>
        <Button tone="info" buttonStyle="light">
          Info
        </Button>
        <Button tone="success" buttonStyle="light">
          Success
        </Button>
        <Button tone="danger" buttonStyle="light">
          Danger
        </Button>
        <Button tone="warning" buttonStyle="light">
          Warning
        </Button>
      </div>
    </div>
  );
}

More by alwkala

View all
  • Callout

    Callout

    9
  • Progress Bar

    Progress Bar

    2
  • Breadcrumb

    Breadcrumb

    1
  • Navbar

    Navbar

    1
  • Kbd

    Kbd

  • Pagination

    Pagination

  • Back To Top

    Back To Top

  • Checkbox

    Checkbox

More in Buttons

View all
  • Button Group

    Button Group

    4
  • Button

    Button

    20
  • Texture Button

    Texture Button

    111
  • Button

    Button

    4
  • Hero Button

    Hero Button

    23
  • Button

    Button

    143
  • Astryx Chat Send Button

    Astryx Chat Send Button

    5
  • Button Group

    Button Group