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

checkbox-basic.tsx — ui Source File

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

File tsx DocumentationAtlas Changelog 2 imports 1 functions

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

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

export function CheckboxBasic() {
  return (
    <FieldGroup className="mx-auto w-56">
      <Field orientation="horizontal">
        <Checkbox id="terms-checkbox-basic" name="terms-checkbox-basic" />
        <FieldLabel htmlFor="terms-checkbox-basic">
          Accept terms and conditions
        </FieldLabel>
      </Field>
    </FieldGroup>
  )
}

Subdomains

Functions

Dependencies

  • checkbox
  • field

Frequently Asked Questions

What does checkbox-basic.tsx do?
checkbox-basic.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, Changelog subdomain.
What functions are defined in checkbox-basic.tsx?
checkbox-basic.tsx defines 1 function(s): CheckboxBasic.
What does checkbox-basic.tsx depend on?
checkbox-basic.tsx imports 2 module(s): checkbox, field.
Where is checkbox-basic.tsx in the architecture?
checkbox-basic.tsx is located at apps/v4/examples/radix/checkbox-basic.tsx (domain: DocumentationAtlas, subdomain: Changelog, 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