Replies: 5 comments 2 replies
-
Nice :) and the bears, too :D |
Beta Was this translation helpful? Give feedback.
-
Hey y'all! 👋 I do really like this idea of introducing stagger props through the different behavior styles ❤️ Wonder if there is a way that we could provide an override for the delay step? For example, the default step is a fraction of the delay depending on the number of items, right? But, how do we scale that whilst making it flexible enough? In the demo, I've been using Semi-related to animation, I've been exploring |
Beta Was this translation helpful? Give feedback.
-
if we had maybe this feature has some js we ship with it, that fills out the props based on children? |
Beta Was this translation helpful? Give feedback.
-
Yeah, I love those ideas. They would be rad functions to have access too. This could be relatively "trivial" to implement as a polyfill. I'm thinking along the lines of how SplitingJS does things. User attaches some attribute that tells it that you want sibling prop enhancement so we don't do a huge tree traversal 😅
|
Beta Was this translation helpful? Give feedback.
-
@jh3y with trig delays plus an index https://x.com/jh3yy/status/1849618145545191821?s=19 |
Beta Was this translation helpful? Give feedback.
-
Extracted from here https://codepen.io/jh3y/pen/OJzJGee, made into reusables OP style down below:
Stagger
Reverse Stagger
@jh3y, thoughts!?
Beta Was this translation helpful? Give feedback.
All reactions