uiable

Kbd Button

Buttons 4

About

A button with an inline keyboard-shortcut indicator (kbd) showing the key needed to trigger the action.

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

Code

How Kbd Button is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import KbdButton from "@/components/ui/kbd-button";

export default function KbdButtonDemo() {
  return (
    <div className="flex items-center justify-center">
      <KbdButton />
    </div>
  );
}

More by uiable

View all
  • Feature Highlights Grid

    Feature Highlights Grid

    557
  • Card Tabs

    Card Tabs

    151
  • Financial Bento Grid

    Financial Bento Grid

    145
  • Marketing Hero Section

    Marketing Hero Section

    98
  • Portfolio Showcase Grid

    Portfolio Showcase Grid

    96
  • Chart Tooltip

    Chart Tooltip

    94
  • Sidebar with Search and Profile

    Sidebar with Search and Profile

    88
  • Attachment States

    Attachment States

    64

More in Buttons

View all
  • Button

    Button

    151
  • Great UI Button

    Great UI Button

    19
  • Eclipse Button

    Eclipse Button

    46
  • Base Button

    Base Button

    2
  • Button

    Button

    3
  • Button Group

    Button Group

    4
  • Button

    Button

    20
  • HeroUI Toggle Button

    HeroUI Toggle Button

Explore more

Part of uiable — browse the full library on 21st.dev.