Skip to content
nexubDesign System
v2.4.0

Components · Form Controls

Checkbox

StableSince v0.0.1

Binary checkbox input built on Radix UI.

import { Checkbox } from '@nexub/react';

Examples

Default

With label

States

Props

Props
PropTypeDefaultDescription
checkedboolean—The controlled checked state.
defaultCheckedboolean—The initial checked state when uncontrolled.
disabledboolean—Disables the checkbox when true.
requiredboolean—Marks the checkbox as required in a form.
onCheckedChange(checked: boolean) => void—Callback fired when the checked state changes.