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

@eqtylab/equality

v4.1.0

Published

EQTYLab's component and token-based design system

Readme

@eqtylab/equality

npm version license

EQTY Lab's design system: accessible React components and design tokens, built on Radix UI and Tailwind CSS v4.

Documentation · Components · GitHub

Installation

npm install @eqtylab/equality
# or
pnpm add @eqtylab/equality
# or
yarn add @eqtylab/equality

Requires react and react-dom 18.2 or newer.

Setup

Tailwind CSS v4 (recommended)

Import the theme config, then a preflight, in your global stylesheet:

@import '@eqtylab/equality/theme-config.css';
@import '@eqtylab/equality/preflight.css' layer(base);

theme-config.css must come first, because it declares the layer order the preflight relies on. It builds on Tailwind, so tailwindcss v4 must be installed in your project.

| Stylesheet | Contains | | ---------------------------------------- | ----------------------------------------------------- | | @eqtylab/equality/theme-config.css | Tokens, theme, utilities and components. No reset. | | @eqtylab/equality/preflight.css | Base styles reset for html and everything under it. | | @eqtylab/equality/preflight-scoped.css | The same reset, only inside [data-equality-root]. |

If you're embedding Equality in a site that has its own base styles, use preflight-scoped.css instead so the reset doesn't affect the rest of the page.

Without Tailwind

Wrap your app, or the part of it that uses Equality, in ThemeProvider:

import { ThemeProvider } from '@eqtylab/equality';

export function Root() {
  return (
    <ThemeProvider>
      <App />
    </ThemeProvider>
  );
}

See the Usage guide for embedding in host sites, shadow DOM, and portalled surfaces.

Usage

import { Button, Card, CardContent } from '@eqtylab/equality';

export function Example() {
  return (
    <Card>
      <CardContent>
        <Button>Save changes</Button>
      </CardContent>
    </Card>
  );
}

Every component accepts a className prop for local style overrides. Component styles are scoped with CSS Modules, so overrides don't leak into other components.

Themes

Equality ships light and dark themes. Set the active theme on the root element:

<html data-equality-theme="dark"></html>

To apply a stored or system preference before first paint, inline the initializeTheme script in your document <head>:

import { initializeTheme } from '@eqtylab/equality/scripts';

<head>
  <script>{initializeTheme()}</script>
</head>;

See Themes for options.

Entry points

| Import path | Contents | | ---------------------------------------- | -------------------------------------------------- | | @eqtylab/equality | Components, ThemeProvider, and hooks | | @eqtylab/equality/scripts | initializeTheme inline script for theme startup | | @eqtylab/equality/syntax-language | File name to syntax grammar mapping for CodeBlock | | @eqtylab/equality/theme-config.css | Tailwind v4 theme config | | @eqtylab/equality/preflight.css | Global base styles reset | | @eqtylab/equality/preflight-scoped.css | Base styles reset scoped to [data-equality-root] |

The package ships ES modules and CommonJS builds with TypeScript types.

Accessibility

Components are built on Radix UI primitives and designed for keyboard navigation and screen readers.

License

Apache-2.0