Skip to content

Animations in React Spectrum #1655

Discussion options

You must be logged in to vote

I think you're just looking for https://alligator.io/react/react-transition-group/
The Spectrum components like View aren't really attached to anything in the CSS other than offering some easy access so some Spectrum CSS variables.
Since they are CSS variables though, you can access them from anywhere in CSS as long as you're under the root where they are defined.
A final note on it, Spectrum isn't very big on animations as part of the design system. So you won't find many transitions defined in it.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@tanishqkancharla
Comment options

@snowystinger
Comment options

@tanishqkancharla
Comment options

@snowystinger
Comment options

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