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

@grigogo/ui

v0.1.0

Published

Animated React components: text effects, interactions, UI pieces and WebGL/canvas backgrounds. Zero dependencies besides React.

Downloads

91

Readme

@grigogo/ui

Animated React components — text effects, interactions, UI pieces and WebGL / canvas backgrounds. No dependencies besides React. Live previews, props and source: grigogo.ru/library.

npm i @grigogo/ui
import { Aurora, GlitchText } from '@grigogo/ui';

export default function Hero() {
  return (
    <section style={{ position: 'relative', height: 480 }}>
      <Aurora />
      <h1>
        <GlitchText text="Signal lost" />
      </h1>
    </section>
  );
}

Tune it on your own page

Wrap a component in <Tune> while you work: a panel with the same faders as on grigogo.ru appears in the corner, every change shows up on your real page, and Copy JSX gives you the result to paste.

import { Tune } from '@grigogo/ui/tune';

<Tune>
  <Aurora />
</Tune>;

Several <Tune>s share one panel, a tab each. In a production build <Tune> renders only its child — the panel, its styles and the control schema are dropped from the bundle — so leaving it in is harmless; remove it when you're done. Panel language: <Tune lang="ru">.

One rhythm for the whole app

Wrap your app in <GrigogoProvider> and every component follows one accent colour and one tempo:

import { GrigogoProvider } from '@grigogo/ui';

<GrigogoProvider accent="#ff3d7f" tempo={1.5}>
  <App />
</GrigogoProvider>;
  • Accent replaces the brand green wherever a component uses it; tempo speeds everything up (2 = twice as fast) or slows it down.
  • A prop you set wins. <Aurora speed={0.5} /> keeps its own speed while the rest follow the tempo. Remove the prop and it follows again; rhythm={false} keeps a component out entirely.
  • enabled={false} switches the rhythm off; nested providers override only what they set.
  • With <Tune> on the page the panel gets a Rhythm tab; component fields that follow it are marked shared, and ↺ sends an overridden one back.

Without a provider nothing changes.

Light on the device

Every animated component shares one animation frame, stops completely while off screen, and canvas/WebGL backgrounds lower their resolution while the device can't keep up — then restore it.

Why

  • Styles come with the component. Nothing extra to import.
  • Tree-shakable. Each component is its own module; you ship only what you import.
  • Typed. Every component exports its props type, e.g. GlitchTextProps.
  • Next.js ready. Modules are marked 'use client'; render them from server components as usual.
  • Respects prefers-reduced-motion.

Requires React 18 or newer. Prefer to own the code? Every component can also be copied from the site as a single file.

MIT © Grigory Rozhkov