Home / Function/ CheckboxWithText() — ui Function Reference

CheckboxWithText() — ui Function Reference

Architecture documentation for the CheckboxWithText() function in checkbox-with-text.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  815f0d53_464f_f0b5_fbfd_b50045286464["CheckboxWithText()"]
  9edc7da4_76e2_6087_08db_92b6261cee13["checkbox-with-text.tsx"]
  815f0d53_464f_f0b5_fbfd_b50045286464 -->|defined in| 9edc7da4_76e2_6087_08db_92b6261cee13
  style 815f0d53_464f_f0b5_fbfd_b50045286464 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/examples/checkbox-with-text.tsx lines 5–22

export default function CheckboxWithText() {
  return (
    <div className="items-top flex gap-2">
      <Checkbox id="terms1" />
      <div className="grid gap-1.5 leading-none">
        <label
          htmlFor="terms1"
          className="text-sm leading-none font-medium peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
        >
          Accept terms and conditions
        </label>
        <p className="text-muted-foreground text-sm">
          You agree to our Terms of Service and Privacy Policy.
        </p>
      </div>
    </div>
  )
}

Subdomains

Frequently Asked Questions

What does CheckboxWithText() do?
CheckboxWithText() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/examples/checkbox-with-text.tsx.
Where is CheckboxWithText() defined?
CheckboxWithText() is defined in apps/v4/registry/new-york-v4/examples/checkbox-with-text.tsx at line 5.

Analyze Your Own Codebase

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

Try Supermodel Free