Skip to content

Transition

A composite type combining duration and cubicBezier types to form a CSS transition, as defined in 9.4.

json
{
  "easeOutQuick": {
    "$type": "transition",
    "$value": {
      "duration": "150ms",
      "delay": "0ms",
      "timingFunction": [0.33, 1, 0.68, 1]
    }
  }
}
yaml
easeOutQuick:
  $type: transition
  $value:
    duration: 150ms
    delay: 0ms
    timingFunction:
      - 0.33
      - 1
      - 0.68
      - 1
PropertyTypeDescription
$typestringRequired. "transition"
$valueobjectRequired. Specify duration, delay (optional; defaults to 0), and timingFunction.
$descriptionstring(Optional) A description of this token and its intended usage.