View
The View 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+
- 0
- easing
- steps() only
motion / view / animateview: clip path
after a motion.dev example- Motion
- a view transition, a clip path
- here
- useReveal(), 4 frames
- a frame
- 80 ms, a stepped clip
- close
- one cut
- original
- AnimateView: Clip path
The page opens from the corner of the stage as a clip that grows in four steps. Closing is one cut, and focus goes back to the button.
motion / view / animateview: reorder items
after a motion.dev example- Motion
- a view transition, a reorder
- here
- a cut, then a held fill
- moved
- the held fill, 160 ms
- reduced
- the cut only
- original
- AnimateView: Reorder items
The tags cut to their new places. Each tag that moved shows the held fill for four steps, and nothing slides.
motion / view / animateview: toggle
after a motion.dev example- Motion
- a view transition, a switch
- here
- ui/switch
- a flip
- one cut
- thumb
- no slide
- original
- AnimateView: Toggle
The thumb and the fill cut to the other state in one step; the label says which state it is.
motion / view / animateview: transition types
after a motion.dev example- Motion
- typed view transitions
- here
- useReveal(), 4 frames
- next
- a clip from the right
- back
- a clip from the left
- original
- AnimateView: Transition types
The kind of change picks the edge: next clips the new slide in from the right, back from the left, in four steps over the old slide.
motion / view / animateview: app store
after a motion.dev example- Motion
- a card that opens to a page
- here
- useReveal(), 4 frames
- open
- a clip from the card corner
- close
- one cut; Escape too
- original
- AnimateView: App Store
A card opens into its page as a clip in four steps. Closing is one cut, and focus goes back to the card.