Packages

Animation & Motion Packages

Animation and motion libraries for transitions, gestures, and physics-based UI — the tools behind smooth, native-feeling interface interactions on the web.

85 packages

Packages in Animation & Motion

79Health
Library npm

Motion

A hybrid JavaScript and React animation library built for 120fps gestures, springs, and layout transitions.

34,970
MIT
Used by 142
91Health
Library npm

dnd-kit

A lightweight, extensible React library for building accessible drag-and-drop interfaces.

17,782
MIT
Used by 107
42Health
Library npm

tw-animate-css

A pure-CSS, Tailwind CSS v4 compatible replacement for tailwindcss-animate.

818
MIT
Used by 98
34Health
Library npm

tailwindcss-animate

Tailwind CSS plugin for enter and exit animations using utility classes

3,014
MIT
Used by 97
81Health
Library npm

Embla Carousel React

A lightweight, dependency-free React hook for building fluid, touch-precise carousels and sliders.

8,465
MIT
Used by 49
48Health
Library npm

Vaul

An unstyled, physics-based drawer component for React, built on Radix UI's Dialog primitive.

8,688
MIT
Used by 48
78Health
Library npm

D3.js

The JavaScript library for building custom, data-driven documents with SVG, Canvas, and HTML

113,876
Other
Used by 31
82Health
Library npm

jQuery

A fast, small, feature-rich JavaScript library for DOM traversal, event handling, animation, and Ajax with a concise, chainable API.

59,858
MIT
Used by 30
47Health
Library npm

canvas-confetti

A zero-dependency JavaScript library for firing performant, physics-based confetti animations on an HTML canvas.

12,849
Other
Used by 30
34Health
Library npm

use-stick-to-bottom

Zero-dependency React hook and component that keeps AI chat scrolled to the bottom as content streams in.

784
MIT
Used by 27
72Health
Library npm

react-intersection-observer

React hooks and a component for tracking when elements enter or leave the viewport.

5,542
MIT
Used by 26
53Health
Library npm

react-beautiful-dnd

Beautiful and accessible drag and drop for lists with React

33,906
Apache 2.0
Used by 25
93Health
Library npm

React Native Reanimated

Run smooth, gesture-driven animations directly on the UI thread in React Native.

11,057
MIT
Used by 23
92Health
Library npm

React Native Gesture Handler

Declarative, native-driven touch and gesture handling for React Native, recognized on the UI thread.

6,803
MIT
Used by 23
47Health
Library npm

react-transition-group

react-transition-group: React Component Animation Toolkit

10,211
BSD 3
Used by 20
48Health
Library npm

NProgress

Minimalist slim progress bar for the top of the page, inspired by YouTube and Medium

26,336
MIT
Used by 16
55Health
Library npm

NumberFlow (React)

An animated number component for React that transitions digits, formats locales, and respects reduced-motion preferences

7,777
MIT
Used by 15
61Health
Library npm

@hello-pangea/dnd

Beautiful, accessible drag and drop for lists in React, with keyboard and screen reader support built in.

4,046
Apache 2.0
Used by 15
72Health
Library npm

Pragmatic drag and drop

A low-level, framework-agnostic drag and drop toolkit built on native browser DnD, powering Trello, Jira, and Confluence.

12,794
Apache 2.0
Used by 13
46Health
Library npm

react-rnd

A resizable and draggable React component with fine-grained control over size, position, and drag/resize boundaries.

4,326
MIT
Used by 12
69Health
Library npm

lottie-react

React library and hooks for rendering Lottie/After Effects animations

969
MIT
Used by 12
89Health
Library npm

react-spring

A cross-platform, spring-physics animation library for React that drives DOM and three.js animations imperatively for fluid, natural motion.

29,264
MIT
Used by 11
97Health
Library npm

PixiJS

The fastest, most flexible 2D WebGL and WebGPU rendering engine for the web.

48,642
MIT
Used by 10
95Health
Library npm

Swiper

A hardware-accelerated, mobile-first touch slider for carousels, galleries, and slideshows

41,908
MIT
Used by 10

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers