Skip to content

Alerts & animations #690

Answered by TheSisb
johannaweintraub asked this question in Q&A
Aug 26, 2020 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

Hey @johannaweintraub,

What kind of animation are you looking to do? For example, is the alert sliding-in and you also want the neighboring content to slide down as well? If so, you might be able to achieve a slide-in effect with CSS.

For more complex animations, we recommend using our @twilio-paste/animation-librarypackage, which uses react-spring under the hood. It's still in alpha status, meaning our documentation and guidance is still a work in progress. This also means we're more willing to help collaborate and use this experience to help shape the animation system. :)

If you're able to, please share some more context on what you're trying to achieve and if it's too much for a thread…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by serifluous
Comment options

You must be logged in to vote
3 replies
@jweintraub
Comment options

@SiTaggart
Comment options

@jweintraub
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants