Home / File/ checkbox-with-text.tsx — ui Source File

checkbox-with-text.tsx — ui Source File

Architecture documentation for checkbox-with-text.tsx, a tsx file in the ui codebase. 1 imports, 0 dependents.

File tsx ComponentRegistry ChartRegistry 1 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  2b5a1214_7d08_83ae_9f6d_f52c1494be7b["checkbox-with-text.tsx"]
  77366ecd_665f_1a24_5286_cfd88309c336["checkbox"]
  2b5a1214_7d08_83ae_9f6d_f52c1494be7b --> 77366ecd_665f_1a24_5286_cfd88309c336
  style 2b5a1214_7d08_83ae_9f6d_f52c1494be7b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import { Checkbox } from "@/registry/default/ui/checkbox"

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

Functions

Dependencies

  • checkbox

Frequently Asked Questions

What does checkbox-with-text.tsx do?
checkbox-with-text.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, ChartRegistry subdomain.
What functions are defined in checkbox-with-text.tsx?
checkbox-with-text.tsx defines 1 function(s): CheckboxWithText.
What does checkbox-with-text.tsx depend on?
checkbox-with-text.tsx imports 1 module(s): checkbox.
Where is checkbox-with-text.tsx in the architecture?
checkbox-with-text.tsx is located at deprecated/www/registry/default/examples/checkbox-with-text.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/default/examples).

Analyze Your Own Codebase

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

Try Supermodel Free