addTransitionType is the piece I didn't know I needed. Picking the animation from why the transition happened ("next" slides from the right, "previous" from the left) instead of keeping that direction in state somewhere feels so much cleaner. Curious whether people are already using it for tab and carousel motion, or still reaching for a motion library there.
View all comments
1
u/hasraltech 17d ago
addTransitionTypeis the piece I didn't know I needed. Picking the animation from why the transition happened ("next" slides from the right, "previous" from the left) instead of keeping that direction in state somewhere feels so much cleaner. Curious whether people are already using it for tab and carousel motion, or still reaching for a motion library there.