Add helper to create sequential/staggered transitions #15051
Labels
component: transitions
This is the name of the generic UI component, not the React module!
customization: theme
Centered around the theming features
package: styles
Specific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5.
Just like we have the theme.transition.create helper I think it would be useful to have an helper to make sequential transitions.
Examples 🌈
Heres a proof of concept I whipped together:
It could be used like this:
and it would be equivalent to writing something like:
Context 🔦
With the
createSequential
function above you can implement this (the gif drops some frames, the transition is actually smoother 😬. But the point is that it's sequential anyway 🙂) :like this:
The text was updated successfully, but these errors were encountered: