Skip to main content

Kbd

Data Display
Stable

Keyboard shortcut display component. Use KbdGroup for multi-key combinations. Styling adjusts automatically inside tooltip content.

Quick Import
import { Kbd } from "@cohere-ai/waypoint-ui/kbd";

Live Preview

Loading Kbd...

Examples

Single Key and Combination

Single key and multi-key shortcut examples

1
import { Kbd, KbdGroup } from '@cohere-ai/waypoint-ui/kbd';
2
 
3
{/* Single key */}
4
<Kbd>Enter</Kbd>
5
 
6
{/* Key combination */}
7
<KbdGroup>
8
<Kbd>⌘</Kbd>
9
<Kbd>K</Kbd>
10
</KbdGroup>

Found an Issue?

If you've encountered a bug or have feedback about the Kbd component, please report it to our team. Your feedback helps us improve Waypoint.

Available for all users • Issue will be created in Linear

Was this page helpful?

Your feedback helps us improve our documentation.

Need Help?

Check out the Whitelabeling Playground to explore customization options or visit the Developer Guide for integration help.