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 DocumentationAtlas ContentSourcing 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  d6d290f2_25f0_06ab_e960_8c310feef521["field-input.tsx"]
  e6c524b5_d047_d4f9_50b2_7f100d612cb2["field"]
  d6d290f2_25f0_06ab_e960_8c310feef521 --> e6c524b5_d047_d4f9_50b2_7f100d612cb2
  9a309fc5_4306_d01f_08ce_72db23e48652["input"]
  d6d290f2_25f0_06ab_e960_8c310feef521 --> 9a309fc5_4306_d01f_08ce_72db23e48652
  style d6d290f2_25f0_06ab_e960_8c310feef521 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import {
  Field,
  FieldDescription,
  FieldGroup,
  FieldLabel,
  FieldSet,
} from "@/examples/base/ui/field"
import { Input } from "@/examples/base/ui/input"

export default function FieldInput() {
  return (
    <FieldSet className="w-full max-w-xs">
      <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>
  )
}

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 DocumentationAtlas domain, ContentSourcing 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/examples/base/field-input.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, directory: apps/v4/examples/base).

Analyze Your Own Codebase

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

Try Supermodel Free