npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@fusorb/facet-motion

v1.2.4

Published

Domain-customizable animation engine: generator-driven core (tween + spring), observable motion values, CSS driver with prefers-reduced-motion, a 15-family generative registry, and thin React bindings. Wired to @fusorb/facet-tokens CSS custom properties.

Readme

@fusorb/facet-motion

Declarative, domain-customizable animation engine with a layered architecture: zero-DOM core, observable motion values, CSS/native drivers, a data-driven effect registry, and thin React JSX bindings.

Install

pnpm add @fusorb/facet-motion

Usage

React

import { Motion, Stagger, Presence } from "@fusorb/facet-motion";

<Stagger>
  <Motion effect="fade" asChild>
    <div>Fade in staggered</div>
  </Motion>
</Stagger>

Framework-agnostic

import { animate, sequence, stagger } from "@fusorb/facet-motion";

const ctrl = animate("#card", { opacity: 1 }, { duration: 300 });
sequence(async (next) => {
  await animate(".item", { y: -10 }, { duration: 200 });
  await next(100);
  await stagger(".item", { opacity: 1 });
});

Architecture

| Layer | Exports | Description | |-------|---------|-------------| | core | animate, sequence, stagger, tween, spring | Framework-agnostic animation generators + orchestration scheduler. Pure logic, no DOM access. | | values | motionValue | Observable motion value with get()/set()/subscribe(). | | drivers | cssDriver, preferReducedMotion, resolveDriver | The only layer that touches real DOM/CSS. Auto-registers a CSS driver. | | registry | resolveMotion, registry, generativeFamilies, authoredRegistry | Data-driven effect resolution. 15 generative families + 27 authored effects. | | react | Motion, Presence, Reveal, Stagger | Thin JSX bindings — no animation logic. |

Duration and easing tokens resolve against @fusorb/facet-tokens CSS custom properties — the registry never hardcodes a millisecond or bezier value.

Domain Motion Presets

Five domain-specific motion configs are available for re-theming animations:

fintechMotion | medMotion | eduMotion | enterpriseMotion | defaultMotion
import { getDomainMotionConfig } from "@fusorb/facet-motion";
const cfg = getDomainMotionConfig("fintech");

Accessibility

preferReducedMotion is automatically queried in cssDriver. Animations respect prefers-reduced-motion and can be disabled globally via setReduceMotion(true) (in @fusorb/facet-native).

License

MIT © facet contributors. See LICENSE at the repository root.