field-demo.tsx — ui Source File
Architecture documentation for field-demo.tsx, a tsx file in the ui codebase. 6 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 3bffec1b_ca1e_3052_cb86_bcf976a9cdd0["field-demo.tsx"] 57e86e45_ac6e_7278_be08_9092724e8401["button"] 3bffec1b_ca1e_3052_cb86_bcf976a9cdd0 --> 57e86e45_ac6e_7278_be08_9092724e8401 4f6bcac7_12b3_b724_9762_64ace071aa20["checkbox"] 3bffec1b_ca1e_3052_cb86_bcf976a9cdd0 --> 4f6bcac7_12b3_b724_9762_64ace071aa20 169af77a_46c3_8fec_4801_f34a0f1a3471["field"] 3bffec1b_ca1e_3052_cb86_bcf976a9cdd0 --> 169af77a_46c3_8fec_4801_f34a0f1a3471 80cf663d_a411_487c_d69e_ac9d405cd2ec["input"] 3bffec1b_ca1e_3052_cb86_bcf976a9cdd0 --> 80cf663d_a411_487c_d69e_ac9d405cd2ec c2fa7225_1ddd_1cbc_8810_ee5e42af14d6["select"] 3bffec1b_ca1e_3052_cb86_bcf976a9cdd0 --> c2fa7225_1ddd_1cbc_8810_ee5e42af14d6 a1802a9d_1c52_7ef5_709a_134c4400c1c3["textarea"] 3bffec1b_ca1e_3052_cb86_bcf976a9cdd0 --> a1802a9d_1c52_7ef5_709a_134c4400c1c3 style 3bffec1b_ca1e_3052_cb86_bcf976a9cdd0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { Button } from "@/registry/new-york-v4/ui/button"
import { Checkbox } from "@/registry/new-york-v4/ui/checkbox"
import {
Field,
FieldDescription,
FieldGroup,
FieldLabel,
FieldLegend,
FieldSeparator,
FieldSet,
} from "@/registry/new-york-v4/ui/field"
import { Input } from "@/registry/new-york-v4/ui/input"
import {
Select,
SelectContent,
SelectItem,
SelectTrigger,
SelectValue,
} from "@/registry/new-york-v4/ui/select"
import { Textarea } from "@/registry/new-york-v4/ui/textarea"
export default function FieldDemo() {
return (
<div className="w-full max-w-md">
<form>
<FieldGroup>
<FieldSet>
<FieldLegend>Payment Method</FieldLegend>
<FieldDescription>
All transactions are secure and encrypted
</FieldDescription>
<FieldGroup>
<Field>
<FieldLabel htmlFor="checkout-7j9-card-name-43j">
Name on Card
</FieldLabel>
<Input
id="checkout-7j9-card-name-43j"
placeholder="Evil Rabbit"
required
/>
</Field>
<Field>
<FieldLabel htmlFor="checkout-7j9-card-number-uw1">
Card Number
</FieldLabel>
<Input
id="checkout-7j9-card-number-uw1"
placeholder="1234 5678 9012 3456"
required
/>
<FieldDescription>
Enter your 16-digit card number
</FieldDescription>
</Field>
<div className="grid grid-cols-3 gap-4">
<Field>
<FieldLabel htmlFor="checkout-exp-month-ts6">
Month
</FieldLabel>
// ... (92 more lines)
Domain
Subdomains
Functions
Dependencies
- button
- checkbox
- field
- input
- select
- textarea
Source
Frequently Asked Questions
What does field-demo.tsx do?
field-demo.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, ChartRegistry subdomain.
What functions are defined in field-demo.tsx?
field-demo.tsx defines 1 function(s): FieldDemo.
What does field-demo.tsx depend on?
field-demo.tsx imports 6 module(s): button, checkbox, field, input, select, textarea.
Where is field-demo.tsx in the architecture?
field-demo.tsx is located at apps/v4/registry/new-york-v4/examples/field-demo.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/new-york-v4/examples).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free