sigilUI

Keyboard Key

Show the label of a keyboard key.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

import { KeyboardKey } from "@sigil-ui/components";

Usage

<KeyboardKey>⌘K</KeyboardKey>

CLI

npx @sigil-ui/cli add keyboard-key

Token Integration

KeyboardKey follows the Sigil component rules: styles resolve from var(--s-*), class names are mergeable through className, and the component is exported from @sigil-ui/components.