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

@kata-center/react-animations-library

v0.0.8

Published

My saved animations for React projects

Readme

react-animations-library

Orbit-style animation component for React + TypeScript. Ships with a single CoreOrbit component that arranges labels around a glowing center (logo or text) and rotates them on an interval. All sizing is driven by font-size, so you can scale the graphic by passing a size prop.

Install

npm install @kata-center/react-animations-library
# or
pnpm add @kata-center/react-animations-library

Usage

import { CoreOrbit, type CoreNode } from "@kata-center/react-animations-library";
// Vite/Webpack/Rspack: CSS is auto-imported from the bundle.
// If your setup needs an explicit import, use the line below instead:
// import "@kata-center/react-animations-library/styles.css";

const nodes: CoreNode[] = [
  { label: "Tỉ mỉ", tone: "blue" },
  { label: "Tận tâm", tone: "green" },
  { label: "Chuyên nghiệp", tone: "orange" },
  { label: "Chu đáo", tone: "purple" },
];

export function Example() {
  return (
    <CoreOrbit
      nodes={nodes}
      center={{ logoSrc: "/logo.png" }}
      useLine
      size={16} // px, or pass "18px"/"1rem"
    />
  );
}

Props

  • nodes: CoreNode[] — list of orbiting labels with tone (blue | green | orange | purple).
  • center: { logoSrc?: string; label?: string; } — provide either logoSrc or fallback label.
  • useLine?: boolean (default true) — show/hide lines connecting nodes to the center.
  • size?: number | string (default 16px) — root font-size for the SVG; scales all internal dimensions (em units).
  • className?: string — extra class names applied to the SVG element.

Build locally

cd react-animations-library
npm install
npm run build

Outputs to dist/ with JS, d.ts, and CSS.

Publish to npm (public)

cd react-animations-library
npm version patch   # or minor/major
npm publish --access public

For an org scope (e.g., @your-org/react-animations-library), rename the "name" in package.json, ensure the scope sets access=public, and run the same publish command.

You’ll need an npm token: npm login (or npm config set //registry.npmjs.org/:_authToken <token>). Double-check package.json files and exports before publishing.

More details: docs/publish.md.

Project structure

  • src/components/CoreOrbit/ — component + styles.
  • src/index.ts — public exports.
  • docs/ — publish guide, component docs (docs/components/core-orbit.md).
  • Animations docs: docs/components/animations.md (liệt kê tất cả effect/animation và props).
  • examples/basic/ — Vite + React sample page (uses local file dependency to this package).

To run example locally:

cd react-animations-library
npm install
npm run build
cd examples/basic
npm install
npm run dev