{
  "id": "mui_checkbox",
  "name": "Checkbox",
  "width": 220,
  "height": 56,
  "cornerRadius": 0,
  "fit": "Contain",
  "backgroundColor": "#FFFFFF",
  "opacity": 1,
  "objects": [
    {
      "id": "box",
      "name": "Box",
      "type": "Shape",
      "isVisible": true,
      "isLocked": false,
      "transform": {
        "x": 30,
        "y": 28,
        "rotation": 0,
        "scale_x": 1,
        "scale_y": 1,
        "opacity": 0.32,
        "skew_x": 0,
        "skew_y": 0
      },
      "children": [],
      "interactions": [],
      "width": 26,
      "height": 26,
      "geometry": {
        "type": "Rectangle",
        "width": 26,
        "height": 26,
        "cornerRadius": 8,
        "corner_radius": [
          8,
          8,
          8,
          8
        ]
      },
      "style": {
        "fill": {
          "type": "None",
          "color": "transparent",
          "opacity": 0
        },
        "stroke": {
          "color": "#17171C",
          "width": 2,
          "opacity": 1,
          "isEnabled": true
        }
      },
      "zIndex": 0,
      "logicProperties": [
        {
          "id": "box_lp_stroke",
          "name": "stroke",
          "valueType": "variable",
          "variableId": "in_ink"
        }
      ]
    },
    {
      "id": "box_on",
      "name": "Box / on",
      "type": "Shape",
      "isVisible": true,
      "isLocked": false,
      "transform": {
        "x": 30,
        "y": 28,
        "rotation": 0,
        "scale_x": 0.4,
        "scale_y": 0.4,
        "opacity": 0,
        "skew_x": 0,
        "skew_y": 0
      },
      "children": [],
      "interactions": [],
      "width": 28,
      "height": 28,
      "geometry": {
        "type": "Rectangle",
        "width": 28,
        "height": 28,
        "cornerRadius": 9,
        "corner_radius": [
          9,
          9,
          9,
          9
        ]
      },
      "style": {
        "fill": {
          "type": "Solid",
          "color": "#FF5A1F",
          "opacity": 1
        },
        "stroke": {
          "color": "transparent",
          "width": 0
        }
      },
      "zIndex": 1,
      "logicProperties": [
        {
          "id": "box_on_lp_fill",
          "name": "fill",
          "valueType": "variable",
          "variableId": "in_accent"
        }
      ]
    },
    {
      "id": "tick",
      "name": "Tick",
      "type": "Shape",
      "isVisible": true,
      "isLocked": false,
      "transform": {
        "x": 30,
        "y": 28,
        "rotation": 0,
        "scale_x": 1,
        "scale_y": 1,
        "opacity": 0,
        "skew_x": 0,
        "skew_y": 0
      },
      "children": [],
      "interactions": [],
      "width": 17.28,
      "height": 17.28,
      "geometry": {
        "type": "Path",
        "data": "M-5.04 0 L-1.58 3.46 L5.33 -3.46",
        "width": 17.28,
        "height": 17.28,
        "baseWidth": 17.28,
        "baseHeight": 17.28
      },
      "style": {
        "fill": {
          "type": "None",
          "color": "transparent",
          "opacity": 0
        },
        "stroke": {
          "color": "#FFFFFF",
          "width": 2.6,
          "opacity": 1,
          "isEnabled": true,
          "lineCap": "round",
          "lineJoin": "round",
          "cap": "round",
          "join": "round"
        }
      },
      "zIndex": 2,
      "logicProperties": [
        {
          "id": "tick_lp_stroke",
          "name": "stroke",
          "valueType": "variable",
          "variableId": "in_onaccent"
        }
      ]
    },
    {
      "id": "label",
      "name": "Label",
      "type": "Shape",
      "isVisible": true,
      "isLocked": false,
      "transform": {
        "x": 130.5,
        "y": 29.35,
        "rotation": 0,
        "scale_x": 1,
        "scale_y": 1,
        "opacity": 1,
        "skew_x": 0,
        "skew_y": 0
      },
      "children": [],
      "interactions": [],
      "geometry": {
        "type": "Text",
        "text": "Remember me",
        "fontSize": 15,
        "fontFamily": "Inter",
        "fontWeight": 500,
        "textAlign": "left",
        "textVerticalAlign": "middle",
        "letterSpacing": 0,
        "lineHeight": 1.4,
        "width": 153,
        "height": 25
      },
      "style": {
        "fill": {
          "type": "Solid",
          "color": "#17171C",
          "opacity": 1
        }
      },
      "zIndex": 3,
      "logicProperties": [
        {
          "id": "label_lp_fill",
          "name": "fill",
          "valueType": "variable",
          "variableId": "in_ink"
        },
        {
          "id": "label_lp_text",
          "name": "text",
          "valueType": "variable",
          "variableId": "in_labeltext"
        }
      ]
    },
    {
      "id": "checkbox_hit",
      "name": "Checkbox hit",
      "type": "Shape",
      "isVisible": true,
      "isLocked": false,
      "transform": {
        "x": 110,
        "y": 28,
        "rotation": 0,
        "scale_x": 1,
        "scale_y": 1,
        "opacity": 1,
        "skew_x": 0,
        "skew_y": 0
      },
      "children": [],
      "interactions": [
        {
          "id": "checkbox_hit_onClick_0",
          "event": "onClick",
          "trigger": "onClick",
          "triggers": [
            "onClick",
            "Click"
          ],
          "action": "Toggle Boolean",
          "targetInputId": "in_checked"
        },
        {
          "id": "checkbox_hit_onPointerEnter_1",
          "event": "onPointerEnter",
          "trigger": "onPointerEnter",
          "triggers": [
            "onPointerEnter"
          ],
          "action": "fireTrigger",
          "targetInputId": "in_checkbox_hover"
        },
        {
          "id": "checkbox_hit_onPointerLeave_2",
          "event": "onPointerLeave",
          "trigger": "onPointerLeave",
          "triggers": [
            "onPointerLeave"
          ],
          "action": "fireTrigger",
          "targetInputId": "in_checkbox_leave"
        }
      ],
      "width": 220,
      "height": 56,
      "geometry": {
        "type": "Rectangle",
        "width": 220,
        "height": 56,
        "cornerRadius": 0,
        "corner_radius": [
          0,
          0,
          0,
          0
        ]
      },
      "style": {
        "fill": {
          "type": "Solid",
          "color": "#000000",
          "opacity": 0.001
        },
        "stroke": {
          "color": "transparent",
          "width": 0
        }
      },
      "zIndex": 4
    }
  ],
  "animations": [
    {
      "id": "anim_check_on",
      "name": "Check on",
      "duration": 0.38,
      "loop": false,
      "tracks": [
        {
          "id": "t_6",
          "object_id": "box_on",
          "property": "transform.opacity",
          "keyframes": [
            {
              "id": "k_7",
              "time": 0,
              "value": 0,
              "easing": "easeOutCubic"
            },
            {
              "id": "k_8",
              "time": 0.12,
              "value": 1,
              "easing": "easeOutQuart"
            }
          ]
        },
        {
          "id": "t_9",
          "object_id": "box_on",
          "property": "transform.scale_x",
          "keyframes": [
            {
              "id": "k_10",
              "time": 0,
              "value": 0.4,
              "easing": "cubic-bezier(0.2, 0.9, 0.3, 1.35)"
            },
            {
              "id": "k_11",
              "time": 0.32,
              "value": 1,
              "easing": "easeOutQuart"
            }
          ]
        },
        {
          "id": "t_12",
          "object_id": "box_on",
          "property": "transform.scale_y",
          "keyframes": [
            {
              "id": "k_13",
              "time": 0,
              "value": 0.4,
              "easing": "cubic-bezier(0.2, 0.9, 0.3, 1.35)"
            },
            {
              "id": "k_14",
              "time": 0.32,
              "value": 1,
              "easing": "easeOutQuart"
            }
          ]
        },
        {
          "id": "t_15",
          "object_id": "tick",
          "property": "transform.opacity",
          "keyframes": [
            {
              "id": "k_16",
              "time": 0,
              "value": 0,
              "easing": "linear"
            },
            {
              "id": "k_17",
              "time": 0.1,
              "value": 0,
              "easing": "linear"
            },
            {
              "id": "k_18",
              "time": 0.12,
              "value": 1,
              "easing": "easeOutQuart"
            }
          ]
        },
        {
          "id": "t_19",
          "object_id": "tick",
          "property": "style.stroke.trimEnd",
          "keyframes": [
            {
              "id": "k_20",
              "time": 0,
              "value": 0.002,
              "easing": "linear"
            },
            {
              "id": "k_21",
              "time": 0.1,
              "value": 0.002,
              "easing": "easeOutQuart"
            },
            {
              "id": "k_22",
              "time": 0.38,
              "value": 1,
              "easing": "easeOutQuart"
            }
          ]
        }
      ]
    },
    {
      "id": "anim_check_off",
      "name": "Check off",
      "duration": 0.2,
      "loop": false,
      "tracks": [
        {
          "id": "t_23",
          "object_id": "box_on",
          "property": "transform.opacity",
          "keyframes": [
            {
              "id": "k_24",
              "time": 0,
              "value": 1,
              "easing": "easeOutCubic"
            },
            {
              "id": "k_25",
              "time": 0.2,
              "value": 0,
              "easing": "easeOutQuart"
            }
          ]
        },
        {
          "id": "t_26",
          "object_id": "box_on",
          "property": "transform.scale_x",
          "keyframes": [
            {
              "id": "k_27",
              "time": 0,
              "value": 1,
              "easing": "easeInOutCubic"
            },
            {
              "id": "k_28",
              "time": 0.2,
              "value": 0.4,
              "easing": "easeOutQuart"
            }
          ]
        },
        {
          "id": "t_29",
          "object_id": "box_on",
          "property": "transform.scale_y",
          "keyframes": [
            {
              "id": "k_30",
              "time": 0,
              "value": 1,
              "easing": "easeInOutCubic"
            },
            {
              "id": "k_31",
              "time": 0.2,
              "value": 0.4,
              "easing": "easeOutQuart"
            }
          ]
        },
        {
          "id": "t_32",
          "object_id": "tick",
          "property": "transform.opacity",
          "keyframes": [
            {
              "id": "k_33",
              "time": 0,
              "value": 1,
              "easing": "easeOutCubic"
            },
            {
              "id": "k_34",
              "time": 0.1,
              "value": 0,
              "easing": "easeOutQuart"
            }
          ]
        },
        {
          "id": "t_35",
          "object_id": "tick",
          "property": "style.stroke.trimEnd",
          "keyframes": [
            {
              "id": "k_36",
              "time": 0,
              "value": 1,
              "easing": "easeOutQuart"
            },
            {
              "id": "k_37",
              "time": 0.1,
              "value": 1,
              "easing": "easeOutQuart"
            }
          ]
        }
      ]
    },
    {
      "id": "anim_checkbox_hover_in",
      "name": "Checkbox hover in",
      "duration": 0.18,
      "loop": false,
      "tracks": [
        {
          "id": "t_38",
          "object_id": "box",
          "property": "transform.opacity",
          "keyframes": [
            {
              "id": "k_39",
              "time": 0,
              "value": 0.32,
              "easing": "easeOutCubic"
            },
            {
              "id": "k_40",
              "time": 0.18,
              "value": 0.6,
              "easing": "easeOutQuart"
            }
          ]
        }
      ]
    },
    {
      "id": "anim_checkbox_hover_out",
      "name": "Checkbox hover out",
      "duration": 0.2,
      "loop": false,
      "tracks": [
        {
          "id": "t_41",
          "object_id": "box",
          "property": "transform.opacity",
          "keyframes": [
            {
              "id": "k_42",
              "time": 0,
              "value": 0.6,
              "easing": "easeOutCubic"
            },
            {
              "id": "k_43",
              "time": 0.2,
              "value": 0.32,
              "easing": "easeOutQuart"
            }
          ]
        }
      ]
    }
  ],
  "navigation": [],
  "animationFlow": [],
  "stateVariables": [],
  "stateMachine": {
    "inputs": [
      {
        "id": "in_accent",
        "name": "accent",
        "value": {
          "type": "Text",
          "value": "#FF5A1F",
          "defaultValue": "#FF5A1F"
        }
      },
      {
        "id": "in_onaccent",
        "name": "onAccent",
        "value": {
          "type": "Text",
          "value": "#FFFFFF",
          "defaultValue": "#FFFFFF"
        }
      },
      {
        "id": "in_ink",
        "name": "ink",
        "value": {
          "type": "Text",
          "value": "#17171C",
          "defaultValue": "#17171C"
        }
      },
      {
        "id": "in_labeltext",
        "name": "labelText",
        "value": {
          "type": "Text",
          "value": "Remember me",
          "defaultValue": "Remember me"
        }
      },
      {
        "id": "in_checked",
        "name": "checked",
        "value": {
          "type": "Boolean",
          "value": false,
          "defaultValue": false
        }
      },
      {
        "id": "in_checkbox_hover",
        "name": "Checkbox hover",
        "value": {
          "type": "Trigger",
          "value": false,
          "defaultValue": false
        }
      },
      {
        "id": "in_checkbox_leave",
        "name": "Checkbox leave",
        "value": {
          "type": "Trigger",
          "value": false,
          "defaultValue": false
        }
      },
      {
        "id": "in_checkbox_down",
        "name": "Checkbox down",
        "value": {
          "type": "Trigger",
          "value": false,
          "defaultValue": false
        }
      }
    ],
    "layers": [
      {
        "id": "layer_check",
        "name": "Check",
        "entryStateId": "s_check_off",
        "states": [
          {
            "id": "s_check_off",
            "name": "Off",
            "loop": false,
            "transitions": [
              {
                "id": "tr_check_off_0",
                "targetStateId": "s_check_on",
                "duration": 0,
                "conditions": [
                  {
                    "inputId": "in_checked",
                    "inputName": "checked",
                    "op": "IsTrue",
                    "value": true
                  },
                  {
                    "inputId": "in_checked",
                    "inputName": "in_checked",
                    "op": "NotEqual",
                    "value": "__never__"
                  }
                ]
              }
            ]
          },
          {
            "id": "s_check_on",
            "name": "On",
            "animationId": "anim_check_on",
            "loop": false,
            "transitions": [
              {
                "id": "tr_check_on_0",
                "targetStateId": "s_check_back_off",
                "duration": 0,
                "conditions": [
                  {
                    "inputId": "in_checked",
                    "inputName": "checked",
                    "op": "IsFalse",
                    "value": true
                  },
                  {
                    "inputId": "in_checked",
                    "inputName": "in_checked",
                    "op": "NotEqual",
                    "value": "__never__"
                  }
                ]
              }
            ]
          },
          {
            "id": "s_check_back_off",
            "name": "Back off",
            "animationId": "anim_check_off",
            "loop": false,
            "transitions": [
              {
                "id": "tr_check_back_off_0",
                "targetStateId": "s_check_on",
                "duration": 0,
                "conditions": [
                  {
                    "inputId": "in_checked",
                    "inputName": "checked",
                    "op": "IsTrue",
                    "value": true
                  },
                  {
                    "inputId": "in_checked",
                    "inputName": "in_checked",
                    "op": "NotEqual",
                    "value": "__never__"
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "id": "layer_checkbox_feel",
        "name": "Checkbox feel",
        "entryStateId": "s_checkbox_feel_rest",
        "states": [
          {
            "id": "s_checkbox_feel_rest",
            "name": "Rest",
            "loop": false,
            "transitions": [
              {
                "id": "tr_checkbox_feel_rest_0",
                "targetStateId": "s_checkbox_feel_in",
                "duration": 0,
                "conditions": [
                  {
                    "inputId": "in_checkbox_hover",
                    "inputName": "Checkbox hover",
                    "op": "IsTrue",
                    "value": true
                  }
                ]
              }
            ]
          },
          {
            "id": "s_checkbox_feel_in",
            "name": "In",
            "animationId": "anim_checkbox_hover_in",
            "loop": false,
            "transitions": [
              {
                "id": "tr_checkbox_feel_in_0",
                "targetStateId": "s_checkbox_feel_out",
                "duration": 0,
                "conditions": [
                  {
                    "inputId": "in_checkbox_leave",
                    "inputName": "Checkbox leave",
                    "op": "IsTrue",
                    "value": true
                  }
                ]
              }
            ]
          },
          {
            "id": "s_checkbox_feel_out",
            "name": "Out",
            "animationId": "anim_checkbox_hover_out",
            "loop": false,
            "transitions": [
              {
                "id": "tr_checkbox_feel_out_0",
                "targetStateId": "s_checkbox_feel_in",
                "duration": 0,
                "conditions": [
                  {
                    "inputId": "in_checkbox_hover",
                    "inputName": "Checkbox hover",
                    "op": "IsTrue",
                    "value": true
                  }
                ]
              }
            ]
          }
        ]
      }
    ],
    "logicNodes": []
  },
  "physics": {
    "enabled": false,
    "gravity": {
      "x": 0,
      "y": 9.8
    }
  },
  "backgroundVisible": false,
  "seo": {
    "title": "Checkbox — Exode Motion UI",
    "description": "A checkbox that fills from the centre with a small overshoot while the tick draws itself."
  }
}
