⌘K⇧⌘P
import { Keyboard } from "@/components/ui/preskok-ui/keyboard"
export function KeyboardPreskokDemo() {
return (
<div className="space-x-4">
<Keyboard keys={["⌘", "K"]} />
<Keyboard keys={["⇧", "⌘", "P"]} />
</div>
)
}
Installation
pnpmnpmyarnbunpnpm dlx @preskok-org/ui@latest add keyboard
Usage
import { Keyboard } from "@/registry/preskok/ui/preskok-ui/keyboard"
export function Example() {
return <Keyboard keys={["⌘", "K"]} />
}