A configurable FLIP animation library for React, providing smooth and performant transitions for element position, scale, and opacity changes. Current stable version 7.2.4, released under MIT license, with a release cadence of minor updates quarterly and patches as needed. Key differentiators: supports spring-based animations, stagger effects, nested scale transforms without warping children, and works with frameworks other than React via the flip-toolkit package. Ships TypeScript types. Minimal bundle size (~5KB gzipped).
npm install react-flip-toolkitVerified import paths — ran on the pinned version, not inferred.
Shows a basic list shuffle animation using Flipper and Flipped components. The flipKey prop triggers animation when items change order.
Upgrade to v7+ and ensure you import from 'react-flip-toolkit' directly.
Upgrade to v7.2.4 or later. If you were using modern exports, switch to ESM imports.
Replace default import with named imports: import { Flipper, Flipped } from 'react-flip-toolkit'.Ensure the flipKey prop is updated (e.g., a new string or number) when the layout changes.
Use unique flipId values, typically the same as the React key prop.
Upgrade to v7.0.13 or later.
Upgrade to v7.0.6 or later.
Run 'npm install react-flip-toolkit' or 'yarn add react-flip-toolkit'. Ensure import is from 'react-flip-toolkit'.
Use named import: import { Flipper } from 'react-flip-toolkit'. Ensure package version is ^7.0.0.Wrap the element inside Flipped with a forwardRef component or directly use a DOM element. If using a functional component, use React.forwardRef.
Upgrade to v7.0.13 or later, or use a non-zero string/number as flipId.