Home / File/ label-demo.tsx — ui Source File

label-demo.tsx — ui Source File

Architecture documentation for label-demo.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
  0826bd2e_d20f_bdad_6369_655a0c245eeb["label-demo.tsx"]
  77366ecd_665f_1a24_5286_cfd88309c336["checkbox"]
  0826bd2e_d20f_bdad_6369_655a0c245eeb --> 77366ecd_665f_1a24_5286_cfd88309c336
  f826d306_7d63_5ba3_6a53_387904d37a9f["label"]
  0826bd2e_d20f_bdad_6369_655a0c245eeb --> f826d306_7d63_5ba3_6a53_387904d37a9f
  style 0826bd2e_d20f_bdad_6369_655a0c245eeb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Checkbox } from "@/registry/default/ui/checkbox"
import { Label } from "@/registry/default/ui/label"

export default function LabelDemo() {
  return (
    <div>
      <div className="flex items-center space-x-2">
        <Checkbox id="terms" />
        <Label htmlFor="terms">Accept terms and conditions</Label>
      </div>
    </div>
  )
}

Subdomains

Functions

Dependencies

  • checkbox
  • label

Frequently Asked Questions

What does label-demo.tsx do?
label-demo.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 label-demo.tsx?
label-demo.tsx defines 1 function(s): LabelDemo.
What does label-demo.tsx depend on?
label-demo.tsx imports 2 module(s): checkbox, label.
Where is label-demo.tsx in the architecture?
label-demo.tsx is located at deprecated/www/registry/default/examples/label-demo.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/default/examples).

Analyze Your Own Codebase

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

Try Supermodel Free