Components

Keyboard

Displays a key or keyboard shortcut.

tsx
import Keyboard from '@precursor/keyboard';

Example

⌘K
tsx
import Keyboard from '@precursor/keyboard';

export default function Example() {
    return <Keyboard command>K</Keyboard>;
}

Props

Keyboard props
PropTypeDefaultNotes
childrenReactNode——
commandboolean——
shiftboolean——
optionboolean——
ctrlboolean——