# wellyshen/use-web-animations

😎 🍿 React hook for highly-performant and manipulable animations using Web Animations API.

Repository: https://github.com/wellyshen/use-web-animations
Canonical: https://ross.abutalabs.com/products/use-web-animations
Homepage: https://use-web-animations.netlify.app
Language: TypeScript
License: MIT
License Family: permissive
Topics: react, hook, animation, web-animations, web-animations-api, use-web-animations, waapi, playback-control, motion, performance, typescript, transition, interaction, ux
Last push: 2023-08-12T16:38:17+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2283, "days_push": 1117, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1271, forks 26 (observed 2026-08-28T04:04:12.089564+00:00)

## What it is
A React hook providing a convenient wrapper around the Web Animations API (WAAPI) for creating performant, manipulable web animations. It offers flexible playback control, ready-to-use animation presets, and TypeScript support.

## Use cases
- animate react components with web animations api
- control animation playback in react
- add performant css-like animations to a react app
- use ready-made animation presets like bounce or pulse
- get animation lifecycle events in react hooks

## When to choose
- you use React and want GPU-accelerated animations without heavy animation libraries
- you need programmatic playback control (play, pause, reverse, speed) of animations
- you want a tiny, TypeScript-friendly hook instead of a full animation framework

## When to avoid
- you need complex timeline/scroll-driven choreography better served by GSAP or Framer Motion
- your project is not React-based
- you need SSR-safe animations in environments without WAAPI support

## Facets
- artifact type: library
- maturity: maintenance
- function: animation, ui-components
- domain: frontend, web-development
- platform: browser
- tags: react-hook, web-animations-api, waapi, typescript, playback-control, motion, nodejs

## Member repositories
- wellyshen/use-web-animations (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:12.089564+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:03:24.217650+00:00, confidence not recorded.
  - readme: https://github.com/wellyshen/use-web-animations (fetched 2026-08-28T04:04:12.089564+00:00, sha 330597b6fc9d)
  - homepage: https://use-web-animations.netlify.app (fetched 2026-08-29T12:14:53.006086+00:00, sha 3206dfb724cd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
