Checkbox. Renders an <a-checkbox> web component that provides visual
state; use checked with onStateChange for controlled use, or
defaultChecked. Label is label (or children); hint adds secondary
text under the label. Requires @antadesign/anta/elements.
<Checkboxchecked={agreed}onStateChange={(e, { next }) =>setAgreed(next)}> I agree </Checkbox> <CheckboxdefaultCheckedlabel="Remember me"hint="On this device"/>
Checkbox. Renders an
<a-checkbox>web component that provides visual state; usecheckedwithonStateChangefor controlled use, ordefaultChecked. Label islabel(orchildren);hintadds secondary text under the label. Requires@antadesign/anta/elements.