Skip to main content

Function: CheckboxField()

CheckboxField<confAtom>(props): false | Element

Defined in: lib/forms/CheckboxField.tsx:40

A checkbox component that integrates with form-atoms for form state management. Supports group behavior with associated fields and customizable styling.

Type Parameters

confAtom

confAtom extends Atom<FieldConfig<boolean>, confAtom>

The type of the field configuration atom

Parameters

props

CheckboxFieldProps<confAtom>

The component props

Returns

false | Element

A checkbox component with label and optional group behavior