Description
React Flip Move is a library that animates a list of items when the order of the list changes. CSS transitions only work on CSS properties, so when a list is reshuffled the elements have no way to animate their new positions. Flip Move applies the FLIP technique, which measures where each element was and where it is now, and then fakes the movement with CSS transforms. The library uses only hardware-accelerated transform properties, not positioning properties like top and left, so the animation stays smooth. It also supports enter and exit animations with a few presets, and it can stagger the delay or duration of later items to make a list feel more natural. Start and finish callbacks let you respond when an animation runs. It works with Preact and other React-like libraries and can be loaded through npm, Yarn or a UMD build. Functional components need to be wrapped with forwardRef before they work with Flip Move. The README states that the project is not actively developed, and the author is looking for maintainers, so it is kept working only for new React versions. The README suggests react-flip-toolkit as an alternative.…
Highlights
- Animates list reordering with the FLIP technique
- Uses hardware-accelerated transforms only
- Enter and exit animation presets
- Staggered delays for humanized motion
- Looking for maintainers
Ratings & Reviews
No ratings yet
Be the first to rate react-flip-move.
People also visit
react-flip-move FAQ
What does React Flip Move do?
It animates items smoothly when a React list is reordered, filtered or shuffled, so items glide to their new positions.
How do I install it?
Install it with npm or Yarn, or use the UMD build by adding its script tags to a page.
Does it work with function components?
Yes, but a function component has no ref, so it must be wrapped with React.forwardRef and the ref passed to its first element that accepts refs.
Does it support enter and exit animations?
Yes. It includes several enter and leave presets built on the same transform properties.
Is the project still maintained?
The README says it is not being actively worked on, and the author is looking for maintainers. The author will keep it working with new React versions as far as possible.
Are there alternatives?
The README suggests react-flip-toolkit, since Flip Move is no longer under active development.
What are the best react-flip-move alternatives?
Popular alternatives to react-flip-move include react-flip-toolkit, react-card-flip and react-move. See all react-flip-move alternatives























