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

field-fieldset.tsx — ui Source File

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

Relationship Graph

Source Code

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

export default function FieldFieldset() {
  return (
    <div className="w-full max-w-md space-y-6">
      <FieldSet>
        <FieldLegend>Address Information</FieldLegend>
        <FieldDescription>
          We need your address to deliver your order.
        </FieldDescription>
        <FieldGroup>
          <Field>
            <FieldLabel htmlFor="street">Street Address</FieldLabel>
            <Input id="street" type="text" placeholder="123 Main St" />
          </Field>
          <div className="grid grid-cols-2 gap-4">
            <Field>
              <FieldLabel htmlFor="city">City</FieldLabel>
              <Input id="city" type="text" placeholder="New York" />
            </Field>
            <Field>
              <FieldLabel htmlFor="zip">Postal Code</FieldLabel>
              <Input id="zip" type="text" placeholder="90502" />
            </Field>
          </div>
        </FieldGroup>
      </FieldSet>
    </div>
  )
}

Subdomains

Functions

Dependencies

  • field
  • input

Frequently Asked Questions

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