Home / Function/ CheckboxWithDescription() — ui Function Reference

CheckboxWithDescription() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  d21bb546_50d4_1ec5_f209_fc9ee2607e8b["CheckboxWithDescription()"]
  bc4dd4a3_3802_c072_36f2_265fd2bdee0f["checkbox-example.tsx"]
  d21bb546_50d4_1ec5_f209_fc9ee2607e8b -->|defined in| bc4dd4a3_3802_c072_36f2_265fd2bdee0f
  style d21bb546_50d4_1ec5_f209_fc9ee2607e8b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/examples/checkbox-example.tsx lines 52–66

function CheckboxWithDescription() {
  return (
    <Example title="With Description">
      <Field orientation="horizontal">
        <Checkbox id="terms-2" defaultChecked />
        <FieldContent>
          <FieldLabel htmlFor="terms-2">Accept terms and conditions</FieldLabel>
          <FieldDescription>
            By clicking this checkbox, you agree to the terms and conditions.
          </FieldDescription>
        </FieldContent>
      </Field>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free