skip the tree
system / motion / base-ui1 rebuild
Base UI
The Base UI examples of the Motion library, rebuilt in Composite: the same trigger, in steps, with the system's own parts.
the category
motion/_rebuilds- rebuilds
- 1
- from motion+
- 1
- easing
- steps() only
motion / base-ui / base ui: toast
after a motion+ exampleadd three events: the toasts stack
margin_rebuilds/base-ui/base-toast.tsx
- Motion
- AnimatePresence, a stack
- here
- the State set
- add
- a toast cuts in, the rest peek behind
- away
- Undo, Clear all or 5 s
- original
- Base UI: Toast
Each press adds a toast, and the stack shows up to three, one peek of each behind the front one. A toast cuts away on Undo, on Clear all or after its timer.