Kbd/kbd-platform-specific-

PreviousNext

A kbd/kbd-platform-specific- example

Docs
shadcnblocksblock

Preview

Loading preview…
code/example/kbd/kbd-platform-specific-3.tsx
import { Kbd, KbdGroup } from "@/components/ui/kbd";

export const title = "Windows Key";

const Example = () => (
  <div className="rounded-md border bg-background p-4">
    <KbdGroup>
      <Kbd>Win</Kbd>
      <Kbd>R</Kbd>
    </KbdGroup>
  </div>
);

export default Example;

Installation

npx shadcn@latest add @shadcnblocks/kbd-kbd-platform-specific-3

Usage

import { KbdKbdPlatformSpecific3 } from "@/components/kbd-kbd-platform-specific-3"
<KbdKbdPlatformSpecific3 />