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
  f79e339b_6c43_253e_cbb6_cafa95607a8d["CheckboxWithText()"]
  50e44a4d_6ed7_ab8c_026e_f579c8f21a07["checkbox-with-text.tsx"]
  f79e339b_6c43_253e_cbb6_cafa95607a8d -->|defined in| 50e44a4d_6ed7_ab8c_026e_f579c8f21a07
  style f79e339b_6c43_253e_cbb6_cafa95607a8d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/new-york/examples/checkbox-with-text.tsx lines 5–22

export default function CheckboxWithText() {
  return (
    <div className="items-top flex space-x-2">
      <Checkbox id="terms1" />
      <div className="grid gap-1.5 leading-none">
        <label
          htmlFor="terms1"
          className="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
        >
          Accept terms and conditions
        </label>
        <p className="text-sm text-muted-foreground">
          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 deprecated/www/registry/new-york/examples/checkbox-with-text.tsx.
Where is CheckboxWithText() defined?
CheckboxWithText() is defined in deprecated/www/registry/new-york/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