{
  "id": "mui_toast",
  "name": "Toast",
  "width": 320,
  "height": 96,
  "cornerRadius": 0,
  "fit": "Contain",
  "backgroundColor": "#FFFFFF",
  "opacity": 1,
  "objects": [
    {
      "id": "toast",
      "name": "Toast",
      "type": "Group",
      "isVisible": true,
      "isLocked": false,
      "transform": {
        "x": 160,
        "y": 66,
        "rotation": 0,
        "scale_x": 1,
        "scale_y": 1,
        "opacity": 0,
        "skew_x": 0,
        "skew_y": 0
      },
      "children": [
        "card",
        "badge",
        "tick",
        "message",
        "close",
        "close_hit"
      ],
      "interactions": [],
      "width": 296,
      "height": 60,
      "clipContent": false,
      "geometry": {
        "type": "Rectangle",
        "width": 296,
        "height": 60,
        "cornerRadius": 0
      },
      "style": {
        "fill": {
          "type": "None",
          "color": "transparent",
          "opacity": 0
        },
        "stroke": {
          "color": "transparent",
          "width": 0
        }
      },
      "zIndex": 0
    },
    {
      "id": "card",
      "name": "Card",
      "type": "Shape",
      "isVisible": true,
      "isLocked": false,
      "transform": {
        "x": 0,
        "y": 0,
        "rotation": 0,
        "scale_x": 1,
        "scale_y": 1,
        "opacity": 1,
        "skew_x": 0,
        "skew_y": 0
      },
      "children": [],
      "interactions": [],
      "parentId": "toast",
      "width": 296,
      "height": 60,
      "geometry": {
        "type": "Rectangle",
        "width": 296,
        "height": 60,
        "cornerRadius": 18,
        "corner_radius": [
          18,
          18,
          18,
          18
        ]
      },
      "style": {
        "fill": {
          "type": "Solid",
          "color": "#FFFFFF",
          "opacity": 1
        },
        "stroke": {
          "color": "transparent",
          "width": 0
        },
        "shadow": {
          "color": "#000000",
          "blur": 22,
          "offsetX": 0,
          "offsetY": 8,
          "spread": -6,
          "opacity": 24,
          "isEnabled": true
        }
      },
      "zIndex": 1,
      "logicProperties": [
        {
          "id": "card_lp_fill",
          "name": "fill",
          "valueType": "variable",
          "variableId": "in_surface"
        }
      ]
    },
    {
      "id": "badge",
      "name": "Badge",
      "type": "Shape",
      "isVisible": true,
      "isLocked": false,
      "transform": {
        "x": -116,
        "y": 0,
        "rotation": 0,
        "scale_x": 1,
        "scale_y": 1,
        "opacity": 1,
        "skew_x": 0,
        "skew_y": 0
      },
      "children": [],
      "interactions": [],
      "parentId": "toast",
      "width": 30,
      "height": 30,
      "geometry": {
        "type": "Ellipse",
        "width": 30,
        "height": 30
      },
      "style": {
        "fill": {
          "type": "Solid",
          "color": "#FF5A1F",
          "opacity": 1
        },
        "stroke": {
          "color": "transparent",
          "width": 0
        }
      },
      "zIndex": 2,
      "logicProperties": [
        {
          "id": "badge_lp_fill",
          "name": "fill",
          "valueType": "variable",
          "variableId": "in_accent"
        }
      ]
    },
    {
      "id": "tick",
      "name": "Tick",
      "type": "Shape",
      "isVisible": true,
      "isLocked": false,
      "transform": {
        "x": -116,
        "y": 0,
        "rotation": 0,
        "scale_x": 1,
        "scale_y": 1,
        "opacity": 1,
        "skew_x": 0,
        "skew_y": 0
      },
      "children": [],
      "interactions": [],
      "parentId": "toast",
      "width": 15.84,
      "height": 15.84,
      "geometry": {
        "type": "Path",
        "data": "M-4.62 0 L-1.45 3.17 L4.88 -3.17",
        "width": 15.84,
        "height": 15.84,
        "baseWidth": 15.84,
        "baseHeight": 15.84
      },
      "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": 3,
      "logicProperties": [
        {
          "id": "tick_lp_stroke",
          "name": "stroke",
          "valueType": "variable",
          "variableId": "in_onaccent"
        }
      ]
    },
    {
      "id": "message",
      "name": "Message",
      "type": "Shape",
      "isVisible": true,
      "isLocked": false,
      "transform": {
        "x": -5,
        "y": 1.3499999999999999,
        "rotation": 0,
        "scale_x": 1,
        "scale_y": 1,
        "opacity": 1,
        "skew_x": 0,
        "skew_y": 0
      },
      "children": [],
      "interactions": [],
      "parentId": "toast",
      "geometry": {
        "type": "Text",
        "text": "Changes saved",
        "fontSize": 15,
        "fontFamily": "Inter",
        "fontWeight": 600,
        "textAlign": "left",
        "textVerticalAlign": "middle",
        "letterSpacing": 0,
        "lineHeight": 1.4,
        "width": 166,
        "height": 25
      },
      "style": {
        "fill": {
          "type": "Solid",
          "color": "#17171C",
          "opacity": 1
        }
      },
      "zIndex": 4,
      "logicProperties": [
        {
          "id": "message_lp_fill",
          "name": "fill",
          "valueType": "variable",
          "variableId": "in_ink"
        },
        {
          "id": "message_lp_text",
          "name": "text",
          "valueType": "variable",
          "variableId": "in_messagetext"
        }
      ]
    },
    {
      "id": "close",
      "name": "Close",
      "type": "Shape",
      "isVisible": true,
      "isLocked": false,
      "transform": {
        "x": 118,
        "y": 0,
        "rotation": 0,
        "scale_x": 1,
        "scale_y": 1,
        "opacity": 0.45,
        "skew_x": 0,
        "skew_y": 0
      },
      "children": [],
      "interactions": [],
      "parentId": "toast",
      "width": 14.399999999999999,
      "height": 14.399999999999999,
      "geometry": {
        "type": "Path",
        "data": "M-3.6 -3.6 L3.6 3.6 M3.6 -3.6 L-3.6 3.6",
        "width": 14.399999999999999,
        "height": 14.399999999999999,
        "baseWidth": 14.399999999999999,
        "baseHeight": 14.399999999999999
      },
      "style": {
        "fill": {
          "type": "None",
          "color": "transparent",
          "opacity": 0
        },
        "stroke": {
          "color": "#17171C",
          "width": 2,
          "opacity": 1,
          "isEnabled": true,
          "lineCap": "round",
          "lineJoin": "round",
          "cap": "round",
          "join": "round"
        }
      },
      "zIndex": 5,
      "logicProperties": [
        {
          "id": "close_lp_stroke",
          "name": "stroke",
          "valueType": "variable",
          "variableId": "in_ink"
        }
      ]
    },
    {
      "id": "close_hit",
      "name": "Close hit",
      "type": "Shape",
      "isVisible": true,
      "isLocked": false,
      "transform": {
        "x": 118,
        "y": 0,
        "rotation": 0,
        "scale_x": 1,
        "scale_y": 1,
        "opacity": 1,
        "skew_x": 0,
        "skew_y": 0
      },
      "children": [],
      "interactions": [
        {
          "id": "close_hit_onClick_0",
          "event": "onClick",
          "trigger": "onClick",
          "triggers": [
            "onClick",
            "Click"
          ],
          "action": "applyState",
          "setInput": {
            "inputId": "in_open",
            "value": false
          },
          "properties": [],
          "duration": 0
        }
      ],
      "parentId": "toast",
      "width": 44,
      "height": 44,
      "geometry": {
        "type": "Rectangle",
        "width": 44,
        "height": 44,
        "cornerRadius": 0,
        "corner_radius": [
          0,
          0,
          0,
          0
        ]
      },
      "style": {
        "fill": {
          "type": "Solid",
          "color": "#000000",
          "opacity": 0.001
        },
        "stroke": {
          "color": "transparent",
          "width": 0
        }
      },
      "zIndex": 6
    }
  ],
  "animations": [
    {
      "id": "anim_show_on",
      "name": "Show on",
      "duration": 0.56,
      "loop": false,
      "tracks": [
        {
          "id": "t_8",
          "object_id": "toast",
          "property": "transform.opacity",
          "keyframes": [
            {
              "id": "k_9",
              "time": 0,
              "value": 0,
              "easing": "easeOutCubic"
            },
            {
              "id": "k_10",
              "time": 0.16,
              "value": 1,
              "easing": "easeOutQuart"
            }
          ]
        },
        {
          "id": "t_11",
          "object_id": "toast",
          "property": "transform.y",
          "keyframes": [
            {
              "id": "k_12",
              "time": 0,
              "value": 66,
              "easing": "cubic-bezier(0.2, 0.9, 0.3, 1.35)"
            },
            {
              "id": "k_13",
              "time": 0.46,
              "value": 48,
              "easing": "easeOutQuart"
            }
          ]
        },
        {
          "id": "t_14",
          "object_id": "toast",
          "property": "transform.scale_x",
          "keyframes": [
            {
              "id": "k_15",
              "time": 0,
              "value": 0.92,
              "easing": "cubic-bezier(0.2, 0.9, 0.3, 1.35)"
            },
            {
              "id": "k_16",
              "time": 0.46,
              "value": 1,
              "easing": "easeOutQuart"
            }
          ]
        },
        {
          "id": "t_17",
          "object_id": "toast",
          "property": "transform.scale_y",
          "keyframes": [
            {
              "id": "k_18",
              "time": 0,
              "value": 0.92,
              "easing": "cubic-bezier(0.2, 0.9, 0.3, 1.35)"
            },
            {
              "id": "k_19",
              "time": 0.46,
              "value": 1,
              "easing": "easeOutQuart"
            }
          ]
        },
        {
          "id": "t_20",
          "object_id": "badge",
          "property": "transform.scale_x",
          "keyframes": [
            {
              "id": "k_21",
              "time": 0,
              "value": 0.4,
              "easing": "linear"
            },
            {
              "id": "k_22",
              "time": 0.12,
              "value": 0.4,
              "easing": "cubic-bezier(0.2, 0.9, 0.3, 1.35)"
            },
            {
              "id": "k_23",
              "time": 0.5,
              "value": 1,
              "easing": "easeOutQuart"
            }
          ]
        },
        {
          "id": "t_24",
          "object_id": "badge",
          "property": "transform.scale_y",
          "keyframes": [
            {
              "id": "k_25",
              "time": 0,
              "value": 0.4,
              "easing": "linear"
            },
            {
              "id": "k_26",
              "time": 0.12,
              "value": 0.4,
              "easing": "cubic-bezier(0.2, 0.9, 0.3, 1.35)"
            },
            {
              "id": "k_27",
              "time": 0.5,
              "value": 1,
              "easing": "easeOutQuart"
            }
          ]
        },
        {
          "id": "t_28",
          "object_id": "tick",
          "property": "style.stroke.trimEnd",
          "keyframes": [
            {
              "id": "k_29",
              "time": 0,
              "value": 0.002,
              "easing": "linear"
            },
            {
              "id": "k_30",
              "time": 0.24,
              "value": 0.002,
              "easing": "easeOutQuart"
            },
            {
              "id": "k_31",
              "time": 0.56,
              "value": 1,
              "easing": "easeOutQuart"
            }
          ]
        }
      ]
    },
    {
      "id": "anim_show_off",
      "name": "Show off",
      "duration": 0.22,
      "loop": false,
      "tracks": [
        {
          "id": "t_32",
          "object_id": "toast",
          "property": "transform.opacity",
          "keyframes": [
            {
              "id": "k_33",
              "time": 0,
              "value": 1,
              "easing": "easeInCubic"
            },
            {
              "id": "k_34",
              "time": 0.2,
              "value": 0,
              "easing": "easeOutQuart"
            }
          ]
        },
        {
          "id": "t_35",
          "object_id": "toast",
          "property": "transform.y",
          "keyframes": [
            {
              "id": "k_36",
              "time": 0,
              "value": 48,
              "easing": "easeInCubic"
            },
            {
              "id": "k_37",
              "time": 0.22,
              "value": 62,
              "easing": "easeOutQuart"
            }
          ]
        },
        {
          "id": "t_38",
          "object_id": "toast",
          "property": "transform.scale_x",
          "keyframes": [
            {
              "id": "k_39",
              "time": 0,
              "value": 1,
              "easing": "easeInCubic"
            },
            {
              "id": "k_40",
              "time": 0.22,
              "value": 0.95,
              "easing": "easeOutQuart"
            }
          ]
        },
        {
          "id": "t_41",
          "object_id": "toast",
          "property": "transform.scale_y",
          "keyframes": [
            {
              "id": "k_42",
              "time": 0,
              "value": 1,
              "easing": "easeInCubic"
            },
            {
              "id": "k_43",
              "time": 0.22,
              "value": 0.95,
              "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_surface",
        "name": "surface",
        "value": {
          "type": "Text",
          "value": "#FFFFFF",
          "defaultValue": "#FFFFFF"
        }
      },
      {
        "id": "in_ink",
        "name": "ink",
        "value": {
          "type": "Text",
          "value": "#17171C",
          "defaultValue": "#17171C"
        }
      },
      {
        "id": "in_messagetext",
        "name": "messageText",
        "value": {
          "type": "Text",
          "value": "Changes saved",
          "defaultValue": "Changes saved"
        }
      },
      {
        "id": "in_open",
        "name": "open",
        "value": {
          "type": "Boolean",
          "value": true,
          "defaultValue": true
        }
      }
    ],
    "layers": [
      {
        "id": "layer_show",
        "name": "Show",
        "entryStateId": "s_show_off",
        "states": [
          {
            "id": "s_show_off",
            "name": "Off",
            "loop": false,
            "transitions": [
              {
                "id": "tr_show_off_0",
                "targetStateId": "s_show_on",
                "duration": 0,
                "conditions": [
                  {
                    "inputId": "in_open",
                    "inputName": "open",
                    "op": "IsTrue",
                    "value": true
                  },
                  {
                    "inputId": "in_open",
                    "inputName": "in_open",
                    "op": "NotEqual",
                    "value": "__never__"
                  }
                ]
              }
            ]
          },
          {
            "id": "s_show_on",
            "name": "On",
            "animationId": "anim_show_on",
            "loop": false,
            "transitions": [
              {
                "id": "tr_show_on_0",
                "targetStateId": "s_show_back_off",
                "duration": 0,
                "conditions": [
                  {
                    "inputId": "in_open",
                    "inputName": "open",
                    "op": "IsFalse",
                    "value": true
                  },
                  {
                    "inputId": "in_open",
                    "inputName": "in_open",
                    "op": "NotEqual",
                    "value": "__never__"
                  }
                ]
              }
            ]
          },
          {
            "id": "s_show_back_off",
            "name": "Back off",
            "animationId": "anim_show_off",
            "loop": false,
            "transitions": [
              {
                "id": "tr_show_back_off_0",
                "targetStateId": "s_show_on",
                "duration": 0,
                "conditions": [
                  {
                    "inputId": "in_open",
                    "inputName": "open",
                    "op": "IsTrue",
                    "value": true
                  },
                  {
                    "inputId": "in_open",
                    "inputName": "in_open",
                    "op": "NotEqual",
                    "value": "__never__"
                  }
                ]
              }
            ]
          }
        ]
      }
    ],
    "logicNodes": []
  },
  "physics": {
    "enabled": false,
    "gravity": {
      "x": 0,
      "y": 9.8
    }
  },
  "backgroundVisible": false,
  "seo": {
    "title": "Toast — Exode Motion UI",
    "description": "A toast that rises in with a small overshoot while its tick draws. Close it, or set open from your code."
  }
}
