Skip to main content

Checkbox

A checkbox that fills from the centre with a small overshoot while the tick draws itself.

  • 1.6 KB .bexode
  • 5 live inputs
  • Responsive fit Layout
Live runtime

Use it

The code follows your customizations. Install with npm i exodeui.

import { ExodeUICanvas } from 'exodeui';

// checkbox.bexode goes in /public (download it below)
export function Checkbox() {
  return (
    <ExodeUICanvas
      src="/checkbox.bexode"
      fit="Contain"
      autoPlay
      interactive
      onTrigger={(name) => {
        // fires: 'checked'
      }}
      style={{ width: '100%', height: 560 }}
    />
  );
}

Inputs

InputTypeDefaultRange
accentText#FF5A1Fhex colour
onAccentText#FFFFFFhex colour
inkText#17171Chex colour
labelTextTextRemember me—
checkedBooleanfalse—

Events (via onTrigger): checked