@antadesign/anta
    Preparing search index...

    Function CheckboxUnreviewed

    • 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.

      <Checkbox checked={agreed} onStateChange={(e, { next }) => setAgreed(next)}>
      I agree
      </Checkbox>
      <Checkbox defaultChecked label="Remember me" hint="On this device" />

      Parameters

      Returns any