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

Relationship Graph

Source Code

"use client"

import { Checkbox } from "@/registry/new-york/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/new-york/examples/checkbox-with-text.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/new-york/examples).

Analyze Your Own Codebase

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

Try Supermodel Free