Skip to content
Eskais UI

Foundations

Kbd

Presentational keyboard key and key group rendered as kbd.

Example

Search with CtrlK

Installation

npx shadcn@latest add @eskais/kbd

Usage

Import
import { Kbd, KbdGroup } from "@/components/ui/kbd"

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.