Home / Function/ CheckboxGroup() — ui Function Reference

CheckboxGroup() — ui Function Reference

Architecture documentation for the CheckboxGroup() function in checkbox-example.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  5b58af23_7170_309f_1b43_a3b5d390ea04["CheckboxGroup()"]
  7abc87f0_d378_e3cc_beb2_c7b80257b0a5["checkbox-example.tsx"]
  5b58af23_7170_309f_1b43_a3b5d390ea04 -->|defined in| 7abc87f0_d378_e3cc_beb2_c7b80257b0a5
  style 5b58af23_7170_309f_1b43_a3b5d390ea04 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/examples/checkbox-example.tsx lines 216–260

function CheckboxGroup() {
  return (
    <Example title="Group">
      <Field>
        <FieldLabel>Show these items on the desktop:</FieldLabel>
        <Field orientation="horizontal">
          <Checkbox id="finder-pref-9k2-hard-disks-ljj" />
          <FieldLabel
            htmlFor="finder-pref-9k2-hard-disks-ljj"
            className="font-normal"
          >
            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>
      </Field>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

What does CheckboxGroup() do?
CheckboxGroup() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/checkbox-example.tsx.
Where is CheckboxGroup() defined?
CheckboxGroup() is defined in apps/v4/registry/bases/base/examples/checkbox-example.tsx at line 216.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free