Kbd/kbd-platform-specific-

PreviousNext

A kbd/kbd-platform-specific- example

Docs
shadcnblocksblock

Preview

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

export const title = "Mac Option Symbol";

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

export default Example;

Installation

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

Usage

import { KbdKbdPlatformSpecific2 } from "@/components/kbd-kbd-platform-specific-2"
<KbdKbdPlatformSpecific2 />