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

input-grid.tsx — ui Source File

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

File tsx DocumentationAtlas Changelog 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  7a861bda_e762_e737_8653_a5628dbedde3["input-grid.tsx"]
  b5f68436_cf6b_fba3_fb29_abf27fd13442["field"]
  7a861bda_e762_e737_8653_a5628dbedde3 --> b5f68436_cf6b_fba3_fb29_abf27fd13442
  9af00736_7b63_3c3c_87d0_68c5200c5d80["input"]
  7a861bda_e762_e737_8653_a5628dbedde3 --> 9af00736_7b63_3c3c_87d0_68c5200c5d80
  style 7a861bda_e762_e737_8653_a5628dbedde3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

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

Functions

Dependencies

  • field
  • input

Frequently Asked Questions

What does input-grid.tsx do?
input-grid.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, Changelog subdomain.
What functions are defined in input-grid.tsx?
input-grid.tsx defines 1 function(s): InputGrid.
What does input-grid.tsx depend on?
input-grid.tsx imports 2 module(s): field, input.
Where is input-grid.tsx in the architecture?
input-grid.tsx is located at apps/v4/examples/radix/input-grid.tsx (domain: DocumentationAtlas, subdomain: Changelog, directory: apps/v4/examples/radix).

Analyze Your Own Codebase

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

Try Supermodel Free