checkbox-group.tsx — ui Source File
Architecture documentation for checkbox-group.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 7dbb8b9c_6b82_f03c_bac8_ec7dfa7e8919["checkbox-group.tsx"] 0e5204ae_c5d7_cc02_3599_620cb7011a92["checkbox"] 7dbb8b9c_6b82_f03c_bac8_ec7dfa7e8919 --> 0e5204ae_c5d7_cc02_3599_620cb7011a92 b5f68436_cf6b_fba3_fb29_abf27fd13442["field"] 7dbb8b9c_6b82_f03c_bac8_ec7dfa7e8919 --> b5f68436_cf6b_fba3_fb29_abf27fd13442 style 7dbb8b9c_6b82_f03c_bac8_ec7dfa7e8919 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { Checkbox } from "@/examples/radix/ui/checkbox"
import {
Field,
FieldDescription,
FieldGroup,
FieldLabel,
FieldLegend,
FieldSet,
} from "@/examples/radix/ui/field"
export function CheckboxGroup() {
return (
<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-checkbox"
name="finder-pref-9k2-hard-disks-ljj-checkbox"
defaultChecked
/>
<FieldLabel
htmlFor="finder-pref-9k2-hard-disks-ljj-checkbox"
className="font-normal"
>
Hard disks
</FieldLabel>
</Field>
<Field orientation="horizontal">
<Checkbox
id="finder-pref-9k2-external-disks-1yg-checkbox"
name="finder-pref-9k2-external-disks-1yg-checkbox"
defaultChecked
/>
<FieldLabel
htmlFor="finder-pref-9k2-external-disks-1yg-checkbox"
className="font-normal"
>
External disks
</FieldLabel>
</Field>
<Field orientation="horizontal">
<Checkbox
id="finder-pref-9k2-cds-dvds-fzt-checkbox"
name="finder-pref-9k2-cds-dvds-fzt-checkbox"
/>
<FieldLabel
htmlFor="finder-pref-9k2-cds-dvds-fzt-checkbox"
className="font-normal"
>
CDs, DVDs, and iPods
</FieldLabel>
</Field>
<Field orientation="horizontal">
<Checkbox
id="finder-pref-9k2-connected-servers-6l2-checkbox"
name="finder-pref-9k2-connected-servers-6l2-checkbox"
/>
<FieldLabel
htmlFor="finder-pref-9k2-connected-servers-6l2-checkbox"
className="font-normal"
>
Connected servers
</FieldLabel>
</Field>
</FieldGroup>
</FieldSet>
)
}
Domain
Subdomains
Functions
Dependencies
- checkbox
- field
Source
Frequently Asked Questions
What does checkbox-group.tsx do?
checkbox-group.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, ContentSourcing subdomain.
What functions are defined in checkbox-group.tsx?
checkbox-group.tsx defines 1 function(s): CheckboxGroup.
What does checkbox-group.tsx depend on?
checkbox-group.tsx imports 2 module(s): checkbox, field.
Where is checkbox-group.tsx in the architecture?
checkbox-group.tsx is located at apps/v4/examples/radix/checkbox-group.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, 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