New components: Transition #1802
Miguel-A-Jara
started this conversation in
Feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First of all, beautiful library. I've found my productivity incremented x10 thanks to this library and the deep integration that it has with Tailwind. I'd love to see this library become the go-to for UI components in the future :).
Now, I think that transition components level up any website even more. Maybe we could get some components that handle transitions like Material UI's?
To give some context, Material UI has 5 main transition components:
Expands from the start edge of the child element.
Fades in from transparent to opaque.
Expands outwards from the center of the child element, while also fading in from transparent to opaque.
Slides in from the edge of the screen.
Expand outwards from the center of the child element.
To bring more insight into this request I think that these components could have this set of options:
in
prop that allows to control when the animation should be triggered.className
prop in order to pass our own transitiondelay
,duration
&easing curves
.container's ref
, the slide animation would only be visible inside that container unlike the normal behavior which would be to see the animating element throughout the whole screen (See more).Beta Was this translation helpful? Give feedback.
All reactions