Home / File/ input-with-label.tsx — ui Source File

input-with-label.tsx — ui Source File

Architecture documentation for input-with-label.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
  212ad4c8_a84a_074a_7a94_215b28db39bc["input-with-label.tsx"]
  163b5f6f_1cd3_6d8d_5305_80eec4895f60["input"]
  212ad4c8_a84a_074a_7a94_215b28db39bc --> 163b5f6f_1cd3_6d8d_5305_80eec4895f60
  f826d306_7d63_5ba3_6a53_387904d37a9f["label"]
  212ad4c8_a84a_074a_7a94_215b28db39bc --> f826d306_7d63_5ba3_6a53_387904d37a9f
  style 212ad4c8_a84a_074a_7a94_215b28db39bc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Input } from "@/registry/default/ui/input"
import { Label } from "@/registry/default/ui/label"

export default function InputWithLabel() {
  return (
    <div className="grid w-full max-w-sm items-center gap-1.5">
      <Label htmlFor="email">Email</Label>
      <Input type="email" id="email" placeholder="Email" />
    </div>
  )
}

Subdomains

Functions

Dependencies

  • input
  • label

Frequently Asked Questions

What does input-with-label.tsx do?
input-with-label.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 input-with-label.tsx?
input-with-label.tsx defines 1 function(s): InputWithLabel.
What does input-with-label.tsx depend on?
input-with-label.tsx imports 2 module(s): input, label.
Where is input-with-label.tsx in the architecture?
input-with-label.tsx is located at deprecated/www/registry/default/examples/input-with-label.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