Skip to main content

Install

That writes one file: compositions/components/micro-transitions.html.

Variables

Every one of these has a default, so the piece works untouched. Set the ones you want to change on the element: Set them with data-variable-values on the element that mounts it. These are the defaults, so this behaves exactly like the preview above until you change one:

Source

Usage

Open compositions/components/micro-transitions.html and paste its contents into your composition. See the comment header in the file for detailed instructions. Tagged transition-primitive motion-primitive transitions-dev-port ui transition microinteraction.