preskok/ui

Keyboard

Display keyboard shortcuts inline and benefit from built-in focus behavior.

Installation

pnpm dlx @preskok-org/ui@latest add keyboard

Usage

import { Keyboard } from "@/registry/preskok/ui/preskok-ui/keyboard"
 
export function Example() {
  return <Keyboard keys={["⌘", "K"]} />
}