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

@xynon-yl/animus

v0.6.1

Published

Animus design system component library — tokens, components, and theming for the Xynon design language.

Downloads

137

Readme

@xynon-yl/animus

Animus design system component library — tokens, components, and theming for the Xynon design language. Built on Radix primitives, Tailwind CSS, and CSS variables.

Install

@xynon-yl/animus is published to GitHub Packages, which requires authentication.

One-time setup in the consumer app

  1. Create a GitHub Personal Access Token (classic) with the read:packages scope.

  2. Export it as GITHUB_TOKEN in your shell (or save it to your password manager and source it in .zshrc).

  3. Add an .npmrc at the consumer app root:

    @xynon-yl:registry=https://npm.pkg.github.com
    //npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}

    (See .npmrc.example in this repo.)

  4. Install:

    npm install @xynon-yl/animus

Use

// Once at the app root
import '@xynon-yl/animus/styles.css';

import { ThemeProvider, Button, Card, Input } from '@xynon-yl/animus';

export function App() {
  return (
    <ThemeProvider>
      <Card>
        <Input placeholder="Search…" />
        <Button>Go</Button>
      </Card>
    </ThemeProvider>
  );
}

Every component is a named export — import { Button } from '@xynon-yl/animus'.

Theming

Three base themes are bundled — light, dark, forest. Switch by setting data-theme on <html>, or use the bundled hook/components.

import { useTheme, ThemeSwitcher, AccentPicker } from '@xynon-yl/animus';

function Header() {
  const { theme, setTheme, accent, setAccent } = useTheme();
  return (
    <header>
      <ThemeSwitcher />
      <AccentPicker />
    </header>
  );
}

AccentPicker lets the user choose any hex; the picked colour is mapped across the navy/bright ramps and the focus ring, so every component re-skins together.

Programmatic theming

import { useTheme, buildPalette } from '@xynon-yl/animus';

const { setAccent } = useTheme();
setAccent('#6660B0'); // any hex; cleared with setAccent(null)

Define a new base theme

In your consumer app's CSS, add a new [data-theme] block that sets the semantic tokens:

[data-theme='nautical'] {
  --bg: #0E1E2E;
  --fg: #E5EEF5;
  --primary: #4FA3C7;
  --primary-fg: #0E1E2E;
  --accent: #6FC5C5;
  --accent-fg: #0E1E2E;
  /* …see src/styles/tokens.css for the full set */
}

Then setTheme('nautical' as Theme) and add it to your THEMES array if you build a custom switcher.

What's exported

Components — Alert, Badge, Banner, Breadcrumb, Button, Card, Checkbox, Dialog, FormField (+ FormLabel / FormControl / FormHint / FormError / FormActions), Icon, Input, Kpi (+ KpiGroup), Label, Link, List (+ ListItem / Title / Description / Meta), NavBar, NavRail, NavItem, Panel, Popover, Progress, RadioGroup, Select, Sheet, Switch, Table (+ container, head, body, row, cells, caption), Tabs, Tag, Toast, Toggle (+ ToggleGroup), Tooltip.

ThemingThemeProvider, useTheme, THEMES, Theme, ThemeSwitcher, AccentPicker.

Utilitiescn, buildPalette, parseHex, rgbToHsl, hslToHex, hexToHsl, shade, withAlpha, relativeLuminance, readableFg.

Styles@xynon-yl/animus/styles.css (full bundle), @xynon-yl/animus/tokens.css (just the CSS variables).

Develop

npm install
npm run dev          # showcase at http://localhost:5174
npm run build:lib    # produce dist/ for publishing
npm run build:app    # produce dist-app/ for the showcase deploy
npm run type-check

The showcase app under src/showcase/ and src/main.tsx is not part of the published package — only src/index.ts and what it re-exports.

Publish

Tagged releases publish automatically via .github/workflows/publish.yml:

npm version patch    # or minor / major
git push --follow-tags

The workflow runs npm run build:lib and npm publish against GitHub Packages using the org's GITHUB_TOKEN.