klyv-ui

Accent Button

Buttons 1

About

A pill-shaped button with five emphasis variants (accent, muted, outline, white, ghost) that can render as a native button or any element like a link, and swaps its label for a spinner while loading.

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

Code

How Accent 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 ButtonDemo() {
  return (
    <div className="flex min-h-[280px] w-full flex-wrap items-center justify-center gap-3 bg-surface p-10 text-ink">
      <Button variant="accent">Send</Button>
      <Button variant="muted">Withdraw</Button>
      <Button variant="outline">Withdraw</Button>
      <Button variant="white">Order Yours Now</Button>
      <Button variant="ghost">Inline affordances</Button>
    </div>
  );
}

More by klyv-ui

View all
  • Gantt Chart

    Gantt Chart

    117
  • Klyv Animated Beam

    Klyv Animated Beam

    76
  • Shader Canvas

    Shader Canvas

    75
  • Pareto Chart

    Pareto Chart

    65
  • Fluid Canvas

    Fluid Canvas

    48
  • Time Slot Picker

    Time Slot Picker

    41
  • Sunburst Chart

    Sunburst Chart

    37
  • Klyv Border Beam

    Klyv Border Beam

    33

More in Buttons

View all
  • Button

    Button

    166
  • Texture Button

    Texture Button

    121
  • Button

    Button

    21
  • 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