alexander-rukin

Kit Button

Buttons

About

A multi-purpose button with primary, secondary, tonal, icon and floating-action variants, pointer-driven hover and press feedback, and support for leading/trailing icons.

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

Code

How Kit 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 IconButtonTonesDemo() {
  return (
    <div
      style={{
        display: "flex",
        gap: 16,
        alignItems: "center",
        justifyContent: "center",
        flexWrap: "wrap",
        padding: 32,
      }}
    >
      <Button variant="icon" tone="surface" title="surface">
        ≡
      </Button>
      <Button variant="icon" tone="accent" title="accent">
        ↑
      </Button>
      <Button variant="icon" tone="accentSoft" title="accentSoft">
        ✈
      </Button>
      <Button variant="icon" tone="muted" title="muted">
        …
      </Button>
    </div>
  );
}

More by alexander-rukin

View all
  • Carousel

    Carousel

    16
  • Combobox

    Combobox

  • Textarea

    Textarea

  • Tooltip

    Tooltip

  • Card

    Card

  • Range Slider

    Range Slider

  • Progress

    Progress

  • Filter Chip

    Filter Chip

More in Buttons

View all
  • Hero Button

    Hero Button

    21
  • Eclipse Button

    Eclipse Button

    9
  • Button

    Button

    141
  • Button

    Button

    19
  • Texture Button

    Texture Button

    111
  • HeroUI Toggle Button

    HeroUI Toggle Button

  • Random Letter Swap CTA Buttons

    Random Letter Swap CTA Buttons

    64
  • Water Ripple Button

    Water Ripple Button

    4