ShadcnSpace

Keyboard Shortcut Tooltip

Buttons

About

A button group whose actions reveal their keyboard shortcut hints inside tooltips on hover, with a Mac/Windows switch that swaps the key glyphs.

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

Code

How Keyboard Shortcut Tooltip is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import KbdTooltip from "@/components/ui/kbd-03";

export default function Default() {
  return (
    <div className="flex min-h-[320px] w-full items-center justify-center p-10">
      <KbdTooltip />
    </div>
  );
}

More by ShadcnSpace

View all
  • Integration Card

    Integration Card

    1.9K
  • Stacked Card Carousel

    Stacked Card Carousel

    1.6K
  • Button witn Icon

    Button witn Icon

    1.5K
  • Orbiting Circles with Globe

    Orbiting Circles with Globe

    1.4K
  • Agency Hero Section

    Agency Hero Section

    1K
  • Testimonials Marquee

    Testimonials Marquee

    668
  • Shine Border

    Shine Border

    492
  • Range Select Calendar

    Range Select Calendar

    490

More in Buttons

View all
  • Texture Button

    Texture Button

    107
  • Button

    Button

    14
  • Notification Button

    Notification Button

    117
  • HeroUI Button Group

    HeroUI Button Group

    1
  • Base Button

    Base Button

    3
  • Button

    Button

    2
  • Button

    Button

    36
  • App Store Button

    App Store Button

    484

Explore more

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