snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
15
apps/v4/registry/new-york-v4/examples/kbd-button.tsx
Normal file
15
apps/v4/registry/new-york-v4/examples/kbd-button.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import { Button } from "@/registry/new-york-v4/ui/button"
|
||||
import { Kbd } from "@/registry/new-york-v4/ui/kbd"
|
||||
|
||||
export default function KbdButton() {
|
||||
return (
|
||||
<div className="flex flex-wrap items-center gap-4">
|
||||
<Button variant="outline" size="sm" className="pr-2">
|
||||
Accept <Kbd>⏎</Kbd>
|
||||
</Button>
|
||||
<Button variant="outline" size="sm" className="pr-2">
|
||||
Cancel <Kbd>Esc</Kbd>
|
||||
</Button>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user