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 TonalButtonsDemo() {
  return (
    <div
      style={{
        display: "flex",
        gap: 16,
        alignItems: "center",
        justifyContent: "center",
        flexWrap: "wrap",
        padding: 32,
      }}
    >
      <Button variant="tonal">Accent</Button>
      <Button variant="tonal" scale="sm" toneColor="#E5484D">
        Renew
      </Button>
      <Button variant="tonal" scale="sm" toneColor="#2FA855">
        Done
      </Button>
    </div>
  );
}

More by alexander-rukin

View all
  • Carousel

    Carousel

    17
  • Progress

    Progress

    1
  • Filter Chip

    Filter Chip

    1
  • Combobox

    Combobox

  • Textarea

    Textarea

  • Tooltip

    Tooltip

  • Card

    Card

  • Range Slider

    Range Slider

More in Buttons

View all
  • Button

    Button

    20
  • Button

    Button

    3
  • Button Group

    Button Group

    18
  • Button

    Button

    149
  • Icon Label Subtext Button

    Icon Label Subtext Button

    69
  • Button

    Button

    9
  • Button

    Button

    37
  • Texture Button

    Texture Button

    113