Queue animation component for React that staggers enter/leave animations of children elements. Current stable version is 2.0.0, released rarely (last update 2022). Key differentiator: provides ready-made animation types (alpha, left, right, top, bottom, scale, etc.) and configurable delay, duration, and interval for sequential animations. Requires React >=16.9.0 and is ESM-only. Alternative to react-spring or framer-motion for simple queue animations.
npm install rc-queue-animNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic queue animation with 'left' type, custom delay range, duration, and interval.
Update usage: use componentTag instead of component, ensure key on every child, follow new animConfig format.
Use import QueueAnim from 'rc-queue-anim' instead of import { QueueAnim } from 'rc-queue-anim'.Add key to each child element. Example: <div key="1">...</div>.
Wrap nested animations in another QueueAnim or use a different animation library.
Replace with const QueueAnim = require('rc-queue-anim').default; or use import.Add a unique key prop to each child (e.g., <div key="id">).
Ensure QueueAnim has at least one child and children is an array (e.g., use React.Children.toArray).
Use one of the valid types: alpha, left, right, top, bottom, scale, scaleBig, scaleX, scaleY.