uiable

Kbd Input Group

Component 18

About

A search input field with a leading search icon and trailing keyboard shortcut badges (like ⌘K) to hint a global keyboard shortcut.

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

Code

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

Usage.tsx

import KbdInputGroup from "@/components/ui/kbd-input-group";

export default function KbdInputGroupDemo() {
  return (
    <div className="flex w-full items-center justify-center p-10">
      <KbdInputGroup />
    </div>
  );
}

Dependencies

More by uiable

View all
  • Feature Highlights Grid

    Feature Highlights Grid

    341
  • Card Tabs

    Card Tabs

    101
  • Financial Bento Grid

    Financial Bento Grid

    71
  • Chart Tooltip

    Chart Tooltip

    67
  • Portfolio Showcase Grid

    Portfolio Showcase Grid

    58
  • Marketing Hero Section

    Marketing Hero Section

    58
  • Sidebar with Search and Profile

    Sidebar with Search and Profile

    50
  • Position Sonner

    Position Sonner

    48

Explore more

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