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

input-fieldgroup.tsx — ui Source File

Architecture documentation for input-fieldgroup.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.

File tsx DocumentationAtlas ContentSourcing 3 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  959d4dd8_afd0_322d_ae0e_9f5c8428179f["input-fieldgroup.tsx"]
  4544fa74_9b37_0912_c55e_f4ff161b8e83["button"]
  959d4dd8_afd0_322d_ae0e_9f5c8428179f --> 4544fa74_9b37_0912_c55e_f4ff161b8e83
  e6c524b5_d047_d4f9_50b2_7f100d612cb2["field"]
  959d4dd8_afd0_322d_ae0e_9f5c8428179f --> e6c524b5_d047_d4f9_50b2_7f100d612cb2
  9a309fc5_4306_d01f_08ce_72db23e48652["input"]
  959d4dd8_afd0_322d_ae0e_9f5c8428179f --> 9a309fc5_4306_d01f_08ce_72db23e48652
  style 959d4dd8_afd0_322d_ae0e_9f5c8428179f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

export function InputFieldgroup() {
  return (
    <FieldGroup>
      <Field>
        <FieldLabel htmlFor="fieldgroup-name">Name</FieldLabel>
        <Input id="fieldgroup-name" placeholder="Jordan Lee" />
      </Field>
      <Field>
        <FieldLabel htmlFor="fieldgroup-email">Email</FieldLabel>
        <Input
          id="fieldgroup-email"
          type="email"
          placeholder="name@example.com"
        />
        <FieldDescription>
          We&apos;ll send updates to this address.
        </FieldDescription>
      </Field>
      <Field orientation="horizontal">
        <Button type="reset" variant="outline">
          Reset
        </Button>
        <Button type="submit">Submit</Button>
      </Field>
    </FieldGroup>
  )
}

Subdomains

Functions

Dependencies

  • button
  • field
  • input

Frequently Asked Questions

What does input-fieldgroup.tsx do?
input-fieldgroup.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 input-fieldgroup.tsx?
input-fieldgroup.tsx defines 1 function(s): InputFieldgroup.
What does input-fieldgroup.tsx depend on?
input-fieldgroup.tsx imports 3 module(s): button, field, input.
Where is input-fieldgroup.tsx in the architecture?
input-fieldgroup.tsx is located at apps/v4/examples/base/input-fieldgroup.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