KodeKarsa UI

Compact

Compact Checkbox

A 16px checkbox with 4px corners and a thin drawn check. Supports a partial state for select-all.

src/components/ui/compact-checkbox.tsxBehavior from @ui-sdk/react/checkbox

Selecting table rows

Memuat

Import

tsx
import { CompactCheckbox } from "@/components/ui/compact-checkbox";

Guidelines

  • For select-all, pass checked="indeterminate" when only some rows are selected.