BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/retab-ui/kbd

Kbd

retab-ui/kbd
FreeComponent

A keyboard shortcut display primitive.

Install it

npx shadcn@latest add https://ui.retab.com/r/kbd.json

Source

registry/new-york-v4/ui/kbd.tsxui.retab.com/r/kbd.json
1import type * as React from "react";
2
3import { cn } from "@/lib/utils";
4
5export function Kbd({
6 className,
7 ...props
8}: React.ComponentProps<"kbd">): React.ReactElement {
9 return (
10 <kbd
11 className={cn(
12 "bg-muted text-muted-foreground pointer-events-none inline-flex h-5 min-w-5 items-center justify-center gap-1 rounded px-1 font-sans text-xs font-medium select-none [&_svg:not([class*='size-'])]:size-3",
13 className,
14 )}
15 data-slot="kbd"
16 {...props}
17 />
18 );
19}
20
21export function KbdGroup({
22 className,
23 ...props
24}: React.ComponentProps<"kbd">): React.ReactElement {
25 return (
26 <kbd
27 className={cn("inline-flex items-center gap-1", className)}
28 data-slot="kbd-group"
29 {...props}
30 />
31 );
32}

What it pulls in

Other registry items

  • @retab/utils

Files it writes

  • registry/new-york-v4/ui/kbd.tsx

Facts

Registry
retab-ui
Type
registry:ui
Access
Free
Files written
1
Licence
NOASSERTION
First indexed
2026-08-04
Last confirmed
today

Go to the source

ui.retab.com retab-dev/retab-ui on GitHub Raw registry item This item as JSON

More from retab-ui

All 130 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Alertalertretab-uiComponentsFree1 dep
Alert Dialogalert-dialogretab-uiComponentsFree1 dep
Aspect Ratioaspect-ratioretab-uiComponentsFreeno deps
Attachment Sidebarattachment-sidebarretab-uiComponentsFree1 dep
Autocompleteautocompleteretab-uiComponentsFree2 deps
Calendarcalendarretab-uiComponentsFree2 deps
Code Viewercode-viewerretab-uiComponentsFree2 deps · 32 files
Commandcommandretab-uiComponentsFree2 deps
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex