field-responsive.tsx — ui Source File
Architecture documentation for field-responsive.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 0e50a2b9_d8e4_fd75_01f5_69c337ee3913["field-responsive.tsx"] 4544fa74_9b37_0912_c55e_f4ff161b8e83["button"] 0e50a2b9_d8e4_fd75_01f5_69c337ee3913 --> 4544fa74_9b37_0912_c55e_f4ff161b8e83 e6c524b5_d047_d4f9_50b2_7f100d612cb2["field"] 0e50a2b9_d8e4_fd75_01f5_69c337ee3913 --> e6c524b5_d047_d4f9_50b2_7f100d612cb2 9a309fc5_4306_d01f_08ce_72db23e48652["input"] 0e50a2b9_d8e4_fd75_01f5_69c337ee3913 --> 9a309fc5_4306_d01f_08ce_72db23e48652 style 0e50a2b9_d8e4_fd75_01f5_69c337ee3913 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { Button } from "@/examples/base/ui/button"
import {
Field,
FieldContent,
FieldDescription,
FieldGroup,
FieldLabel,
FieldLegend,
FieldSet,
} from "@/examples/base/ui/field"
import { Input } from "@/examples/base/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>
)
}
Domain
Subdomains
Functions
Dependencies
- button
- field
- input
Source
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/base/field-responsive.tsx (domain: DocumentationAtlas, subdomain: Changelog, 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