CheckBox

A smooth, animated checkbox component with customizable color, size, and duration.

Preview

Installation

npx shadcn@latest add "https://ui.rechesoares.com/registry/checkbox.json"

Component Props

PropTypeDefaultRequiredDescription
checkedboolean-YesControls whether the checkbox is checked.
onClick() => void-YesFunction to call when the checkbox is clicked.
sizenumber32NoSize of the checkbox in pixels.
colorstring#00e599NoColor of the checkbox stroke.
durationnumber1NoDuration of the check animation in seconds.