Skip to content
IntelliHelper logo

Intelli UI

FeedbackLiquid Glass

Kbd

Keyboard key labels for shortcuts and hints. Preview live, copy the source, or install with the CLI into your Next.js project.
npx @intellihelper/cli@latest add kbd

Keyboard shortcuts

About this component

Kbd is part of Feedback. Keyboard key labels for shortcuts and hints.

Install with npx @intellihelper/cli@latest add kbd. Files land in your project so you can customize styles, variants, and behavior without a locked package.

Prefer AI-assisted install? Use the agent plugin or the MCP server.

When to use Kbd

Use when

  • Use Kbd when keyboard key labels for shortcuts and hints.
  • Status, progress, toasts, badges, alerts, and spinners.
  • Non-blocking confirmation that an action succeeded or failed.

Avoid when

  • Permanent page content (use surfaces or typography).
  • Errors that block progress without an inline form message.

Accessibility notes

  • Toasts and alerts should use appropriate roles (status/alert) without over-notifying.
  • Progress indicators need accessible names for screen readers.

Interactive primitives build on accessible patterns (including Radix where applicable). Always verify focus order and contrast on your mesh or product background.

Composition tips

  • Use toast for transient success; alert for persistent page-level issues.
  • Badges annotate; they should not be the only interactive control.

FAQ

View all feedback