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

atelier-fx

v0.2.0

Published

Crafted motion for premium websites: liquid glass, self-drawing line art, masked reveals, foil text, spotlight, tilt, curtain, grain, marquee, progress, count-up and smart video. Tiny, dependency-free, one data attribute.

Readme

atelier-fx

Crafted motion for premium websites. Twelve hand-finished effects, from liquid glass and self-drawing line art to film grain and count-up numbers, that you switch on with one HTML attribute.

  • 3.7 KB of JavaScript and 2.1 KB of CSS, gzipped, for all twelve
  • No dependencies. Works with plain HTML, React, Vite, Next.js, Astro, Webflow, Framer, WordPress and Shopify
  • Kind to every visitor. Reduced-motion users see the finished page instantly; touch devices skip cursor effects
  • Fast. Only transform and opacity animate, and nothing runs until it is on screen
  • Out of your way. Effects add classes and CSS variables only, so your styles stay in charge

Live demo →

Install

npm i atelier-fx
import { init } from 'atelier-fx';
import 'atelier-fx/style.css';

init(); // finds every [data-fx] on the page

Or straight from a CDN, no build step. The script initialises itself:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/atelier-fx/dist/atelier-fx.min.css">
<script src="https://cdn.jsdelivr.net/npm/atelier-fx" defer></script>

Add data-manual to the script tag if you'd rather call AtelierFX.init() yourself.

Effects

Add data-fx to any element. List several to combine them: data-fx="tilt spotlight". Tune each effect with data-af-* attributes or CSS custom properties.

| Effect | What it does | Options | | --- | --- | --- | | glass | Frosted panel with a bright edge and a highlight that follows the cursor | --af-glass-blur, --af-glass-tint, --af-glass-sheen, --af-glass-radius | | draw | SVG line art draws itself stroke by stroke in view | data-af-stagger, data-af-duration (seconds) | | reveal | Text rises out of a mask, word by word or letter by letter | data-af-split="words\|chars", data-af-stagger, --af-reveal-duration | | foil | Slow metallic sweep across text | --af-foil-shine, --af-foil-deep, --af-foil-speed | | spotlight | Soft light follows the cursor across a section | --af-spot-color, --af-spot-size | | tilt | Card leans toward the cursor with a magnetic pull | data-af-tilt (deg), data-af-pull (px), data-af-ease | | curtain | Panel pulls away to unveil media, which settles from a zoom | data-af-direction="up\|down\|left\|right", data-af-trigger="view\|load", --af-curtain-color | | grain | Subtle moving film grain over an element (or the whole page on <body>) | --af-grain-opacity, --af-grain-size | | marquee | Seamless endless ticker that pauses on hover | data-af-speed (px/s), data-af-direction="left\|right", --af-marquee-gap | | progress | A thread that fills as you read the page or a section | data-af-target (selector), --af-progress-color, --af-progress-height | | count | Numbers count up in view, keeping symbols and separators (₹1,240+) | data-af-duration (seconds) | | video | Muted background video that plays only on screen, never on data saver or reduced motion | none |

<h1 data-fx="reveal">Every seam finished <em>by hand.</em></h1>

<svg data-fx="draw" data-af-stagger="0.12">…</svg>

<p data-fx="foil" style="--af-foil-shine:#f1d9a7">Couture</p>

<section data-fx="spotlight">
  <div data-fx="tilt" data-af-tilt="8">…</div>
</section>

<figure data-fx="curtain" data-af-direction="left">
  <img src="look-07.jpg" alt="…">
</figure>

<div data-fx="marquee" data-af-speed="40"><span>ESPERTI</span><span>Soul AV</span>…</div>

<strong data-fx="count">₹1,240+</strong>

<div data-fx="progress" style="position:fixed;inset:0 0 auto"></div>

React

import { FX, useFX } from 'atelier-fx/react';
import 'atelier-fx/style.css';

<FX as="h1" fx="reveal">Every seam finished by hand.</FX>
<FX fx="tilt spotlight" options={{ tilt: 8 }}>…</FX>

// or as a hook
const ref = useFX('glass');
return <div ref={ref}>…</div>;

Webflow, Framer, WordPress, Shopify

Paste two lines into your site's head code and add a data-fx custom attribute to any element. Step-by-step guides: docs/NO-CODE.md.

Made with atelier-fx

Using it on a live site? Open a pull request adding it to the showcase on the demo page, or open an issue with the link.

JavaScript API

import { init, apply, destroy, reveal } from 'atelier-fx';

const stop = init(container);              // scan a subtree; returns one cleanup
const undo = apply(el, 'tilt', { tilt: 10 }); // one effect, one element
const off  = reveal(el, { split: 'chars' }); // effects are also exported directly

destroy(el);                               // remove every effect from el and its children

Every function returns a cleanup that puts the DOM back exactly as it was, which makes atelier-fx safe in React, Vue and Svelte components:

useEffect(() => init(ref.current), []);

TypeScript types are included.

Browser support

Current Chrome, Edge, Safari and Firefox. Liquid glass uses backdrop-filter; browsers without it get a tinted panel instead.

Contributing

New effects, fixes and demos are welcome. See CONTRIBUTING.md. Good first issues are labelled on the issue tracker.

Licence

MIT © Beyond Branding Media