Checkbox() — supabase Function Reference
Architecture documentation for the Checkbox() function in checkbox.tsx from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD daab67ae_ca1b_3e4a_dfe2_526fb55a3fe0["Checkbox()"] 6215f5f8_959b_0d27_9c02_ce5f395aab88["cn()"] daab67ae_ca1b_3e4a_dfe2_526fb55a3fe0 -->|calls| 6215f5f8_959b_0d27_9c02_ce5f395aab88 style daab67ae_ca1b_3e4a_dfe2_526fb55a3fe0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/cms/src/components/ui/checkbox.tsx lines 13–26
> = ({ className, ref, ...props }) => (
<CheckboxPrimitive.Root
className={cn(
'peer h-4 w-4 shrink-0 rounded border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground',
className
)}
ref={ref}
{...props}
>
<CheckboxPrimitive.Indicator className={cn('flex items-center justify-center text-current')}>
<Check className="h-4 w-4" />
</CheckboxPrimitive.Indicator>
</CheckboxPrimitive.Root>
)
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does Checkbox() do?
Checkbox() is a function in the supabase codebase.
What does Checkbox() call?
Checkbox() calls 1 function(s): cn.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free