@checkout-kit/ui / Checkbox
Variable: Checkbox
ts
const Checkbox: ({ label, description, error, className, ref, ...props }) => ReactElement;A real checkbox, hidden and drawn with :has(:checked), so Space and the announcement come from the browser. Accepting terms, saving a card, billing-same-as-shipping.
Parameters
| Parameter | Type |
|---|---|
{ label, description, error, className, ref, ...props } | CheckboxProps |
Returns
ReactElement