klyv-ui

Accent Button

Buttons

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

    63
  • Klyv Animated Beam

    Klyv Animated Beam

    50
  • Shader Canvas

    Shader Canvas

    49
  • Pareto Chart

    Pareto Chart

    44
  • Gooey Loader

    Gooey Loader

    26
  • Sunburst Chart

    Sunburst Chart

    24
  • Fluid Canvas

    Fluid Canvas

    23
  • Morphing Text

    Morphing Text

    21

More in Buttons

View all
  • Button

    Button

    5
  • Texture Button

    Texture Button

    97
  • Button Group

    Button Group

  • Eclipse Button

    Eclipse Button

    39
  • Button

    Button

    4
  • HeroUI Button Group

    HeroUI Button Group

  • Base Button

    Base Button

    4
  • App Store Button

    App Store Button

    458