Kbd
Presentational keyboard key and key group rendered as kbd.
Example
Search with CtrlK
kbd-demo.tsxCopy code
Installation
Copy code
Usage
ImportCopy code
API reference
Kbd
Takes <kbd> attributes and render.
KbdGroup
Takes <kbd> attributes and render.
Accessibility
- Renders <kbd>, so screen readers announce keys as keyboard input.
Agent actions
Runs agent.snapshot() from @ui-sdk/react/agent on the live preview above.