FieldResponsive() — ui Function Reference
Architecture documentation for the FieldResponsive() function in field-responsive.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 919ea042_9471_ef1e_f270_3f02853c09c9["FieldResponsive()"] 3d8598fd_633f_502b_b4ef_430c803ef56e["field-responsive.tsx"] 919ea042_9471_ef1e_f270_3f02853c09c9 -->|defined in| 3d8598fd_633f_502b_b4ef_430c803ef56e style 919ea042_9471_ef1e_f270_3f02853c09c9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/new-york-v4/examples/field-responsive.tsx lines 15–61
export default function FieldResponsive() {
return (
<div className="w-full max-w-4xl">
<form>
<FieldSet>
<FieldLegend>Profile</FieldLegend>
<FieldDescription>Fill in your profile information.</FieldDescription>
<FieldSeparator />
<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>
<FieldSeparator />
<Field orientation="responsive">
<FieldContent>
<FieldLabel htmlFor="lastName">Message</FieldLabel>
<FieldDescription>
You can write your message here. Keep it short, preferably
under 100 characters.
</FieldDescription>
</FieldContent>
<Textarea
id="message"
placeholder="Hello, world!"
required
className="min-h-[100px] resize-none sm:min-w-[300px]"
/>
</Field>
<FieldSeparator />
<Field orientation="responsive">
<Button type="submit">Submit</Button>
<Button type="button" variant="outline">
Cancel
</Button>
</Field>
</FieldGroup>
</FieldSet>
</form>
</div>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does FieldResponsive() do?
FieldResponsive() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/examples/field-responsive.tsx.
Where is FieldResponsive() defined?
FieldResponsive() is defined in apps/v4/registry/new-york-v4/examples/field-responsive.tsx at line 15.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free