field-checkbox.tsx — ui Source File
Architecture documentation for field-checkbox.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 4f9562b2_6ece_d2b6_24e4_e22fad3c1d69["field-checkbox.tsx"] 0e5204ae_c5d7_cc02_3599_620cb7011a92["checkbox"] 4f9562b2_6ece_d2b6_24e4_e22fad3c1d69 --> 0e5204ae_c5d7_cc02_3599_620cb7011a92 b5f68436_cf6b_fba3_fb29_abf27fd13442["field"] 4f9562b2_6ece_d2b6_24e4_e22fad3c1d69 --> b5f68436_cf6b_fba3_fb29_abf27fd13442 style 4f9562b2_6ece_d2b6_24e4_e22fad3c1d69 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { Checkbox } from "@/examples/radix/ui/checkbox"
import {
Field,
FieldContent,
FieldDescription,
FieldGroup,
FieldLabel,
FieldLegend,
FieldSeparator,
FieldSet,
} from "@/examples/radix/ui/field"
export function FieldCheckbox() {
return (
<FieldGroup className="w-full max-w-xs">
<FieldSet>
<FieldLegend variant="label">
Show these items on the desktop
</FieldLegend>
<FieldDescription>
Select the items you want to show on the desktop.
</FieldDescription>
<FieldGroup className="gap-3">
<Field orientation="horizontal">
<Checkbox id="finder-pref-9k2-hard-disks-ljj" />
<FieldLabel
htmlFor="finder-pref-9k2-hard-disks-ljj"
className="font-normal"
defaultChecked
>
Hard disks
</FieldLabel>
</Field>
<Field orientation="horizontal">
<Checkbox id="finder-pref-9k2-external-disks-1yg" />
<FieldLabel
htmlFor="finder-pref-9k2-external-disks-1yg"
className="font-normal"
>
External disks
</FieldLabel>
</Field>
<Field orientation="horizontal">
<Checkbox id="finder-pref-9k2-cds-dvds-fzt" />
<FieldLabel
htmlFor="finder-pref-9k2-cds-dvds-fzt"
className="font-normal"
>
CDs, DVDs, and iPods
</FieldLabel>
</Field>
<Field orientation="horizontal">
<Checkbox id="finder-pref-9k2-connected-servers-6l2" />
<FieldLabel
htmlFor="finder-pref-9k2-connected-servers-6l2"
className="font-normal"
>
Connected servers
</FieldLabel>
</Field>
</FieldGroup>
</FieldSet>
<FieldSeparator />
<Field orientation="horizontal">
<Checkbox id="finder-pref-9k2-sync-folders-nep" defaultChecked />
<FieldContent>
<FieldLabel htmlFor="finder-pref-9k2-sync-folders-nep">
Sync Desktop & Documents folders
</FieldLabel>
<FieldDescription>
Your Desktop & Documents folders are being synced with iCloud Drive.
You can access them from other devices.
</FieldDescription>
</FieldContent>
</Field>
</FieldGroup>
)
}
Domain
Subdomains
Functions
Dependencies
- checkbox
- field
Source
Frequently Asked Questions
What does field-checkbox.tsx do?
field-checkbox.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, SearchAPI subdomain.
What functions are defined in field-checkbox.tsx?
field-checkbox.tsx defines 1 function(s): FieldCheckbox.
What does field-checkbox.tsx depend on?
field-checkbox.tsx imports 2 module(s): checkbox, field.
Where is field-checkbox.tsx in the architecture?
field-checkbox.tsx is located at apps/v4/examples/radix/field-checkbox.tsx (domain: DocumentationAtlas, subdomain: SearchAPI, 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