GitHub

Examples

Loading preview…

kbd

Keyboard shortcut display element.


Renders a <kbd> element with a data-kbd attribute for styling.

Installation

pnpm add @fluixi-ui/kbd

Usage

import { Kbd } from '@fluixi-ui/kbd';

<Kbd>⌘K</Kbd>
<Kbd>Ctrl</Kbd>
<Kbd>Shift</Kbd>

All props are forwarded to the underlying <kbd> element.


Part of the Fluixi UI component library. Made with ☕ by the Fluixi team.