Fluixi UI
GitHub ↗

Examples

Loading preview…

kbd

Keyboard shortcut display element.


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

Installation

pnpm add @fluixi/kbd

Usage

import { Kbd } from '@fluixi/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.