Skip to content

@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 ​

ParameterType
{ label, description, error, className, ref, ...props }CheckboxProps

Returns ​

ReactElement

Apache-2.0 · Headless engine, provider adapters and runnable examples.