Home / File/ kbd-button.tsx — ui Source File

kbd-button.tsx — ui Source File

Architecture documentation for kbd-button.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.

File tsx ComponentRegistry ChartRegistry 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  2246d4df_49e9_655c_16fe_c0df1c15aa5a["kbd-button.tsx"]
  57e86e45_ac6e_7278_be08_9092724e8401["button"]
  2246d4df_49e9_655c_16fe_c0df1c15aa5a --> 57e86e45_ac6e_7278_be08_9092724e8401
  eef72ee8_5107_2380_708f_cd0adbb65f49["kbd"]
  2246d4df_49e9_655c_16fe_c0df1c15aa5a --> eef72ee8_5107_2380_708f_cd0adbb65f49
  style 2246d4df_49e9_655c_16fe_c0df1c15aa5a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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>
  )
}

Subdomains

Functions

Dependencies

  • button
  • kbd

Frequently Asked Questions

What does kbd-button.tsx do?
kbd-button.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, ChartRegistry subdomain.
What functions are defined in kbd-button.tsx?
kbd-button.tsx defines 1 function(s): KbdButton.
What does kbd-button.tsx depend on?
kbd-button.tsx imports 2 module(s): button, kbd.
Where is kbd-button.tsx in the architecture?
kbd-button.tsx is located at apps/v4/registry/new-york-v4/examples/kbd-button.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/new-york-v4/examples).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free