Badge
Compact read-only status or category pill set by the system.
A shortcut chip for one keyboard key. Place several in a row for a chord.
A shortcut chip for one key. Put several in a row for a chord.
One chip per key. The chord is the reading order.
Use Kbd for the key name, not Badge. A chord is adjacent chips, not one chip with the whole shortcut.
Open the command menu with ⌘ K, or jump to search with /.
import { Kbd } from "agentic-ds-kit";From contracts/kbd.json: must is the a11y requirements, defaults the prop defaults, stops if the doNot rules where the agent asks instead of inventing a cousin.
| Name | Type | Required | Default | Notes |
|---|---|---|---|---|
| children | node | Yes | — | The key label, such as ⌘ or K. |
Compact read-only status or category pill set by the system.
Clickable action control with appearance × mode (plus an optional flat set) and a fixed set of sizes.
Read-only block of code with a copy button, optional title, language label, tabs, and line numbers.