snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
16
apps/v4/registry/new-york-v4/examples/kbd-group.tsx
Normal file
16
apps/v4/registry/new-york-v4/examples/kbd-group.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import { Kbd, KbdGroup } from "@/registry/new-york-v4/ui/kbd"
|
||||
|
||||
export default function KbdGroupExample() {
|
||||
return (
|
||||
<div className="flex flex-col items-center gap-4">
|
||||
<p className="text-sm text-muted-foreground">
|
||||
Use{" "}
|
||||
<KbdGroup>
|
||||
<Kbd>Ctrl + B</Kbd>
|
||||
<Kbd>Ctrl + K</Kbd>
|
||||
</KbdGroup>{" "}
|
||||
to open the command palette
|
||||
</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user