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
  db42a2ed_eeaa_65fb_0eb7_ad9d8bbf1776["input-with-label.tsx"]
  2de1d0e1_ab37_e1b0_4ef3_da8c8fa66107["input"]
  db42a2ed_eeaa_65fb_0eb7_ad9d8bbf1776 --> 2de1d0e1_ab37_e1b0_4ef3_da8c8fa66107
  fa665cdb_5f79_b81a_95ab_12ba182fc175["label"]
  db42a2ed_eeaa_65fb_0eb7_ad9d8bbf1776 --> fa665cdb_5f79_b81a_95ab_12ba182fc175
  style db42a2ed_eeaa_65fb_0eb7_ad9d8bbf1776 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Input } from "@/registry/new-york/ui/input"
import { Label } from "@/registry/new-york/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/new-york/examples/input-with-label.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/new-york/examples).

Analyze Your Own Codebase

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

Try Supermodel Free