Home / File/ field-input.tsx — ui Source File

field-input.tsx — ui Source File

Architecture documentation for field-input.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
  8ab0b95d_7f38_e1a7_5fa9_8d713d4231cd["field-input.tsx"]
  169af77a_46c3_8fec_4801_f34a0f1a3471["field"]
  8ab0b95d_7f38_e1a7_5fa9_8d713d4231cd --> 169af77a_46c3_8fec_4801_f34a0f1a3471
  80cf663d_a411_487c_d69e_ac9d405cd2ec["input"]
  8ab0b95d_7f38_e1a7_5fa9_8d713d4231cd --> 80cf663d_a411_487c_d69e_ac9d405cd2ec
  style 8ab0b95d_7f38_e1a7_5fa9_8d713d4231cd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import {
  Field,
  FieldDescription,
  FieldGroup,
  FieldLabel,
  FieldSet,
} from "@/registry/new-york-v4/ui/field"
import { Input } from "@/registry/new-york-v4/ui/input"

export default function FieldInput() {
  return (
    <div className="w-full max-w-md">
      <FieldSet>
        <FieldGroup>
          <Field>
            <FieldLabel htmlFor="username">Username</FieldLabel>
            <Input id="username" type="text" placeholder="Max Leiter" />
            <FieldDescription>
              Choose a unique username for your account.
            </FieldDescription>
          </Field>
          <Field>
            <FieldLabel htmlFor="password">Password</FieldLabel>
            <FieldDescription>
              Must be at least 8 characters long.
            </FieldDescription>
            <Input id="password" type="password" placeholder="••••••••" />
          </Field>
        </FieldGroup>
      </FieldSet>
    </div>
  )
}

Subdomains

Functions

Dependencies

  • field
  • input

Frequently Asked Questions

What does field-input.tsx do?
field-input.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 field-input.tsx?
field-input.tsx defines 1 function(s): FieldInput.
What does field-input.tsx depend on?
field-input.tsx imports 2 module(s): field, input.
Where is field-input.tsx in the architecture?
field-input.tsx is located at apps/v4/registry/new-york-v4/examples/field-input.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