checkbox-description.tsx — ui Source File
Architecture documentation for checkbox-description.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR e9e2419a_d483_06fa_b5af_05a11eb9dbda["checkbox-description.tsx"] 701738bf_cdcf_955d_1e15_8125ef50e18b["checkbox"] e9e2419a_d483_06fa_b5af_05a11eb9dbda --> 701738bf_cdcf_955d_1e15_8125ef50e18b e6c524b5_d047_d4f9_50b2_7f100d612cb2["field"] e9e2419a_d483_06fa_b5af_05a11eb9dbda --> e6c524b5_d047_d4f9_50b2_7f100d612cb2 style e9e2419a_d483_06fa_b5af_05a11eb9dbda fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { Checkbox } from "@/examples/base/ui/checkbox"
import {
Field,
FieldContent,
FieldDescription,
FieldGroup,
FieldLabel,
} from "@/examples/base/ui/field"
export function CheckboxDescription() {
return (
<FieldGroup className="mx-auto w-72">
<Field orientation="horizontal">
<Checkbox
id="terms-checkbox-desc"
name="terms-checkbox-desc"
defaultChecked
/>
<FieldContent>
<FieldLabel htmlFor="terms-checkbox-desc">
Accept terms and conditions
</FieldLabel>
<FieldDescription>
By clicking this checkbox, you agree to the terms and conditions.
</FieldDescription>
</FieldContent>
</Field>
</FieldGroup>
)
}
Domain
Subdomains
Functions
Dependencies
- checkbox
- field
Source
Frequently Asked Questions
What does checkbox-description.tsx do?
checkbox-description.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, SearchAPI subdomain.
What functions are defined in checkbox-description.tsx?
checkbox-description.tsx defines 1 function(s): CheckboxDescription.
What does checkbox-description.tsx depend on?
checkbox-description.tsx imports 2 module(s): checkbox, field.
Where is checkbox-description.tsx in the architecture?
checkbox-description.tsx is located at apps/v4/examples/base/checkbox-description.tsx (domain: DocumentationAtlas, subdomain: SearchAPI, directory: apps/v4/examples/base).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free