Home / File/ checkbox-description.tsx — ui Source File

checkbox-description.tsx — ui Source File

Architecture documentation for checkbox-description.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.

File tsx DocumentationAtlas SearchAPI 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  9c28111a_9611_4a70_4169_06906cca1c2a["checkbox-description.tsx"]
  0e5204ae_c5d7_cc02_3599_620cb7011a92["checkbox"]
  9c28111a_9611_4a70_4169_06906cca1c2a --> 0e5204ae_c5d7_cc02_3599_620cb7011a92
  b5f68436_cf6b_fba3_fb29_abf27fd13442["field"]
  9c28111a_9611_4a70_4169_06906cca1c2a --> b5f68436_cf6b_fba3_fb29_abf27fd13442
  style 9c28111a_9611_4a70_4169_06906cca1c2a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Checkbox } from "@/examples/radix/ui/checkbox"
import {
  Field,
  FieldContent,
  FieldDescription,
  FieldGroup,
  FieldLabel,
} from "@/examples/radix/ui/field"

export function CheckboxDescription() {
  return (
    <FieldGroup className="mx-auto w-72">
      <Field orientation="horizontal">
        <Checkbox
          id="terms-checkbox-desc"
          name="terms-checkbox-desc"
          defaultChecked
        />
        <FieldContent>
          <FieldLabel htmlFor="terms-checkbox-desc">
            Accept terms and conditions
          </FieldLabel>
          <FieldDescription>
            By clicking this checkbox, you agree to the terms and conditions.
          </FieldDescription>
        </FieldContent>
      </Field>
    </FieldGroup>
  )
}

Subdomains

Dependencies

  • checkbox
  • field

Frequently Asked Questions

What does checkbox-description.tsx do?
checkbox-description.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 checkbox-description.tsx?
checkbox-description.tsx defines 1 function(s): CheckboxDescription.
What does checkbox-description.tsx depend on?
checkbox-description.tsx imports 2 module(s): checkbox, field.
Where is checkbox-description.tsx in the architecture?
checkbox-description.tsx is located at apps/v4/examples/radix/checkbox-description.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