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

checkbox-demo.tsx — ui Source File

Architecture documentation for checkbox-demo.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
  1df08645_8d24_0b56_fb27_d888f097b024["checkbox-demo.tsx"]
  fe882581_4266_6b26_b40f_462b3a19ebd0["checkbox"]
  1df08645_8d24_0b56_fb27_d888f097b024 --> fe882581_4266_6b26_b40f_462b3a19ebd0
  style 1df08645_8d24_0b56_fb27_d888f097b024 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import { Checkbox } from "@/registry/new-york/ui/checkbox"

export default function CheckboxDemo() {
  return (
    <div className="flex items-center space-x-2">
      <Checkbox id="terms" />
      <label
        htmlFor="terms"
        className="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
      >
        Accept terms and conditions
      </label>
    </div>
  )
}

Subdomains

Functions

Dependencies

  • checkbox

Frequently Asked Questions

What does checkbox-demo.tsx do?
checkbox-demo.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-demo.tsx?
checkbox-demo.tsx defines 1 function(s): CheckboxDemo.
What does checkbox-demo.tsx depend on?
checkbox-demo.tsx imports 1 module(s): checkbox.
Where is checkbox-demo.tsx in the architecture?
checkbox-demo.tsx is located at deprecated/www/registry/new-york/examples/checkbox-demo.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