kbd.tsx — ui Source File
Architecture documentation for kbd.tsx, a tsx file in the ui codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 15dcdbb3_ff92_b277_1010_fadbbd0711b0["kbd.tsx"] 8ad666ec_1b20_adda_0392_87a60bdb3a68["utils"] 15dcdbb3_ff92_b277_1010_fadbbd0711b0 --> 8ad666ec_1b20_adda_0392_87a60bdb3a68 style 15dcdbb3_ff92_b277_1010_fadbbd0711b0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { cn } from "@/registry/bases/base/lib/utils"
function Kbd({ className, ...props }: React.ComponentProps<"kbd">) {
return (
<kbd
data-slot="kbd"
className={cn(
"cn-kbd pointer-events-none inline-flex items-center justify-center select-none",
className
)}
{...props}
/>
)
}
function KbdGroup({ className, ...props }: React.ComponentProps<"div">) {
return (
<kbd
data-slot="kbd-group"
className={cn("cn-kbd-group inline-flex items-center", className)}
{...props}
/>
)
}
export { Kbd, KbdGroup }
Domain
Subdomains
Functions
Dependencies
- utils
Source
Frequently Asked Questions
What does kbd.tsx do?
kbd.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, UIPrimitives subdomain.
What functions are defined in kbd.tsx?
kbd.tsx defines 2 function(s): Kbd, KbdGroup.
What does kbd.tsx depend on?
kbd.tsx imports 1 module(s): utils.
Where is kbd.tsx in the architecture?
kbd.tsx is located at apps/v4/registry/bases/base/ui/kbd.tsx (domain: ComponentRegistry, subdomain: UIPrimitives, directory: apps/v4/registry/bases/base/ui).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free