CoreKbd
Kbd API
Every prop of the 2 parts Kbd exports, generated from the package manifest.
import { Kbd, KbdGroup } from '@oceanic-hub/brand-system'- Layer
- core — shadcn-derived primitives.
- Exports
- Kbd · KbdGrouptypes: KbdGroupProps · KbdProps
- Contract
- packages/brand-system/src/components/kbd.contract.test-d.ts
- Demos
- 5 on the Kbd page — rendered live, hydrated
- Source
- packages/brand-system/src/components/kbd.tsx
Generated from manifest/component-manifest.json, so it cannot drift from the source. For what Kbd is for, how it composes and what it looks like, see Kbd.
Kbd
A styled <kbd> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.
KbdGroup
A styled <kbd> with no API of its own. It takes that element's standard attributes — className, event handlers, ref — and nothing else.