Home / Function/ InputGrid() — ui Function Reference

InputGrid() — ui Function Reference

Architecture documentation for the InputGrid() function in input-grid.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  41054e51_82c6_9ba0_9b12_8aabed9edb3c["InputGrid()"]
  ba99cada_aa66_a42f_c8e1_5dee19f4a916["input-grid.tsx"]
  41054e51_82c6_9ba0_9b12_8aabed9edb3c -->|defined in| ba99cada_aa66_a42f_c8e1_5dee19f4a916
  style 41054e51_82c6_9ba0_9b12_8aabed9edb3c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/base/input-grid.tsx lines 4–17

export function InputGrid() {
  return (
    <FieldGroup className="grid max-w-sm grid-cols-2">
      <Field>
        <FieldLabel htmlFor="first-name">First Name</FieldLabel>
        <Input id="first-name" placeholder="Jordan" />
      </Field>
      <Field>
        <FieldLabel htmlFor="last-name">Last Name</FieldLabel>
        <Input id="last-name" placeholder="Lee" />
      </Field>
    </FieldGroup>
  )
}

Subdomains

Frequently Asked Questions

What does InputGrid() do?
InputGrid() is a function in the ui codebase, defined in apps/v4/examples/base/input-grid.tsx.
Where is InputGrid() defined?
InputGrid() is defined in apps/v4/examples/base/input-grid.tsx at line 4.

Analyze Your Own Codebase

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

Try Supermodel Free