Engram

Key hint

atom

A keybind hint — the bordered key chip Destiny shows in nav bars and footers (`[A] Clan`, `[Esc] Dismiss`).

Install

npx shadcn@latest add @engram/key-hint

Registry item: /r/key-hint.json — the machine-readable definition agents install from.

Example

TabRosterEscDismiss

Props

PropTypeDefaultDescription
children*ReactNodeThe key glyph (e.g. "A", "Esc", "F1").
labelReactNodeOptional action label shown after the key (e.g. "Dismiss").

Own the code: shadcn add copies this component's source into your repo to read and edit directly. Extend without forking — edit the source, use asChild to swap the element, or pass the typed annotations prop for curated data.