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

field-responsive.tsx — ui Source File

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

File tsx DocumentationAtlas Changelog 3 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  6a61117f_f169_d745_bf9a_30bc7e101dbd["field-responsive.tsx"]
  4b1d2128_46d9_46f0_b915_b6e1925b7876["button"]
  6a61117f_f169_d745_bf9a_30bc7e101dbd --> 4b1d2128_46d9_46f0_b915_b6e1925b7876
  b5f68436_cf6b_fba3_fb29_abf27fd13442["field"]
  6a61117f_f169_d745_bf9a_30bc7e101dbd --> b5f68436_cf6b_fba3_fb29_abf27fd13442
  9af00736_7b63_3c3c_87d0_68c5200c5d80["input"]
  6a61117f_f169_d745_bf9a_30bc7e101dbd --> 9af00736_7b63_3c3c_87d0_68c5200c5d80
  style 6a61117f_f169_d745_bf9a_30bc7e101dbd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Button } from "@/examples/radix/ui/button"
import {
  Field,
  FieldContent,
  FieldDescription,
  FieldGroup,
  FieldLabel,
  FieldLegend,
  FieldSet,
} from "@/examples/radix/ui/field"
import { Input } from "@/examples/radix/ui/input"

export function FieldResponsive() {
  return (
    <div className="w-full max-w-lg">
      <form>
        <FieldSet>
          <FieldLegend>Profile</FieldLegend>
          <FieldDescription>Fill in your profile information.</FieldDescription>
          <FieldGroup>
            <Field orientation="responsive">
              <FieldContent>
                <FieldLabel htmlFor="name">Name</FieldLabel>
                <FieldDescription>
                  Provide your full name for identification
                </FieldDescription>
              </FieldContent>
              <Input id="name" placeholder="Evil Rabbit" required />
            </Field>
            <Field orientation="responsive">
              <Button type="submit">Submit</Button>
              <Button type="button" variant="outline">
                Cancel
              </Button>
            </Field>
          </FieldGroup>
        </FieldSet>
      </form>
    </div>
  )
}

Subdomains

Functions

Dependencies

  • button
  • field
  • input

Frequently Asked Questions

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