Skip to Content
Forms & Inputs@hacline/ui/checkbox

Checkbox

Checkbox and checkbox group components built on @ui-sdk/react/checkbox with checked, indeterminate, disabled, and form integration support.

Import

import {
  Checkbox,
  CheckboxGroup,
  CheckboxIndicator,
} from "@/components/ui/hacline/components/checkbox";

Basic Usage and Groups

Includes built-in checkmark and indeterminate dash icons, with CheckboxGroup to manage multi-select values together.

Select All and Indeterminate State

Compute the parent checkbox state from the number of selected items. Toggling "Select all exports" checks or clears the entire group.

Props

Prop

Type