Layout animations
The Layout animations examples of the Motion library, rebuilt in Composite: the same trigger, in steps, with the system's own parts.
the category
motion/_rebuilds- rebuilds
- 5
- from motion+
- 4
- easing
- steps() only
motion / layout-animations / layout anchor
after a motion.dev example- Motion
- layout, one anchor
- here
- a cut of the panel
- anchor
- the button, centred
- size
- 80 px to 160 px
- original
- Layout Anchor
The panel cuts to its new size in one step; the button stays on the centre point, so it does not move.
motion / layout-animations / create button
after a motion+ example- Motion
- layoutId, AnimatePresence
- here
- a cut, then Step-in
- tiles
- six, one a step
- close
- the close mark or Esc
- original
- Create Button
The button cuts to its panel, and the six tiles step in one step apart. A pick closes the panel and glitches the name it made.
motion / layout-animations / ios app folder
after a motion+ example- Motion
- layoutId, a scale
- here
- a cut, then Step-in
- tiles
- eight, in four columns
- close
- the close mark or Esc
- original
- iOS App Folder
The folder cuts to its open grid, and the eight tiles step in one step apart. Esc or the close mark cuts back.
motion / layout-animations / ios app store
after a motion+ example- Motion
- layout, layoutId
- here
- a cut, then Step-in
- open
- the card, to a detail view
- parts
- four, one a step
- original
- iOS App Store
A card that opens is a cut to the detail view, and its parts step in one step apart. Back or Esc cuts to the cards.
motion / layout-animations / toast: notifications list
after a motion+ example- Motion
- AnimatePresence, layout
- here
- a cut, then a Glitch
- a notice
- leaves after 5 s
- most
- four at once
- original
- Toast: Notifications list
A new notice cuts in at the top and glitches its name; one that goes cuts out and the rest close the gap.