# chinchang/cta.js

Animate your 'action-to-effect' paths

Repository: https://github.com/chinchang/cta.js
Canonical: https://ross.abutalabs.com/products/ctajs
Homepage: https://kushagra.dev/lab/ctajs/
Language: HTML
License: MIT
License Family: permissive
Last push: 2024-05-30T07:38:42+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4182, "days_push": 825, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1637, forks 143 (observed 2026-08-28T04:05:14.964862+00:00)

## What it is
cta.js (Call to Animation) is a lightweight 1.2KB JavaScript library that animates any DOM element ('action') onto any other element ('effect') to create smooth action-to-effect transitions. It promotes visual continuity in web apps, inspired by Google Material Design motion principles.

## Use cases
- animate a button click onto a modal that opens
- create tile-based app navigation with element transitions
- animate an element into an opening sidebar
- add visual continuity between UI state changes
- guide user attention with choreographed motion between elements
- reverse a previous element-to-element animation

## When to choose
- you want a tiny dependency-free animation helper for element-to-element transitions
- you need Material Design-style visual continuity without a full animation framework
- you want graceful fallback in unsupported browsers with no extra code

## When to avoid
- you need complex keyframe, timeline, or scroll-based animations
- you already use a full animation library like GSAP or Framer Motion
- you need broad legacy browser support

## Facets
- artifact type: library
- maturity: maintenance
- function: animation
- domain: frontend, web-development, web-design
- platform: browser, cross-platform
- tags: dom-animation, visual-continuity, material-design, micro-interactions, vanilla-js, lightweight

## Member repositories
- chinchang/cta.js (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:14.964862+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-30T03:46:40.964630+00:00, confidence not recorded.
  - readme: https://github.com/chinchang/cta.js (fetched 2026-08-28T04:05:14.964862+00:00, sha 5b6c5e623816)
  - homepage: https://kushagra.dev/lab/ctajs/ (fetched 2026-08-29T11:19:44.751383+00:00, sha 7785497213fa)
- Data as of 2026-08-30T08:39:29.467469+00:00.
