Animation on the web exists in a few fundamental forms that mostly involve changing out CSS classes, directly manipulating the
style attribute, or a combination of the two. There's more sophistication and flexibility to discover when using the lower level
ReactTransitionGroup interface, but the
ReactCSSTransitionGroup mechanism, simple class swapping, or React-Motion will get you just about anywhere you need to be. There are also loads of other great examples on the React-Motion GitHub page (https://github.com/chenglou/react-motion), such as animated list reordering and follow the leader style cursor animation. They are definitely worth checking out.