Skip to main content

Variable: Checkbox

@arolariu/components


@arolariu/components / Checkbox

Variable: Checkbox

const Checkbox: ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & RefAttributes<HTMLElement>>

Defined in: components/ui/checkbox.tsx:42

Renders a selectable checkbox control with checked and indeterminate support.

Remarks

  • Renders a <button> element by default
  • Built on Base UI Checkbox
  • Supports the render prop for element composition
  • Styling via CSS Modules with --ac-* custom properties

Example

<Checkbox checked />

See

Base UI Documentation

// was this page useful?