ai 2

Combo Kbd

Component 11

About

A styled keyboard-shortcut badge set for showing key combinations like Ctrl+K, chained shortcuts, or sequential steps like "G then P" in docs and command menus.

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

Code

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

Usage.tsx

import {
  ComboKbd,
  ChainKbd,
  PlusKbd,
  SequenceKbd,
  GroupKbd,
} from "@/components/ui/kbd-combo";

export default function KbdComboDemo() {
  return (
    <div className="flex flex-wrap items-center justify-center gap-6 p-10">
      <ComboKbd keys={["Ctrl", "K"]} />
      <ChainKbd keys={["Ctrl", "Shift", "P"]} />
      <PlusKbd keys={["Cmd", "S"]} />
      <SequenceKbd keys={["G", "P"]} />
      <GroupKbd keys={["Alt", "Enter"]} />
    </div>
  );
}

More by ai 2

View all
  • Ripple Buttons

    Ripple Buttons

    33
  • Styled Toggle Switches

    Styled Toggle Switches

    21
  • Styled Progress Bars

    Styled Progress Bars

    17
  • Styled Badges

    Styled Badges

    15
  • Particle Toggles

    Particle Toggles

    14
  • OTP Pin Input

    OTP Pin Input

    12
  • File Input

    File Input

    11
  • Minimal Slider

    Minimal Slider

    10

Explore more