Shortcut
Combine key labels to explain a keyboard shortcut. Preserves the complete example's required parts, labels and providers. The example's local state remains owned by that composition.
"use client"
import { Kbd, KbdGroup } from "@/components/ui/kbd"
export function KbdShortcut() {
return (
<div className="flex flex-col items-center gap-3 text-paragraph-sm text-sub-600">
<p className="flex items-center gap-2">
Open the palette with
<KbdGroup>
<Kbd>Ctrl</Kbd>
<Kbd>K</Kbd>
</KbdGroup>
</p>
</div>
)
}