This component no longer exists. It was in ondo-ui’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-09 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.
checkbox
ondo-ui/checkboxRemovedComponent
A control that allows the user to toggle between checked and not checked.
Install it
npx shadcn@latest add https://ui.ondo.dou.so/r/checkbox.jsonSource
1"use client"23import { Checkbox as CheckboxPrimitive } from "@base-ui/react/checkbox"45import { cn } from "@/lib/utils"6import { IconCheck } from "@tabler/icons-react"78function Checkbox({ className, ...props }: CheckboxPrimitive.Root.Props) {9 return (10 <CheckboxPrimitive.Root11 data-slot="checkbox"12 className={cn(13 "peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input shadow-xs transition-shadow outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary",14 className15 )}16 {...props}17 >18 <CheckboxPrimitive.Indicator19 data-slot="checkbox-indicator"20 className="grid place-content-center text-current transition-none [&>svg]:size-3.5"21 >22 <IconCheck23 />24 </CheckboxPrimitive.Indicator>25 </CheckboxPrimitive.Root>26 )27}2829export { Checkbox }
What it pulls in
npm packages
Other registry items
