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

isotope-ui

v0.3.0

Published

A React component library built on modern web standards and Atomic Design — real HTML elements, design tokens, zero internal state.

Readme

isotope-ui

A React component library built on modern web standards and Atomic Design principles.

Philosophy: stay as native to the web platform as possible. isotope-ui uses real HTML elements — <dialog>, <img>, <select>, <video>, <progress>, <input type="radio"> — and removes only the well-known pain points around them. It never re-implements behavior the browser already gives you for free.

Principles

  • Dumb components. No internal state, ever. Each component renders from a UI model (props); state and behavior live in your app.
  • Uncontrolled forms. Form controls are uncontrolled — read values through refs or FormData on submit. No re-render per keystroke.
  • Token-driven. Every spacing, radius, color, size, font, duration, and z-index resolves to a design token, exposed as a --iso-* CSS custom property you can override freely.
  • Structured variants. size / tone / emphasis are typed unions that map to token sets — not ad-hoc style props.
  • CSS Modules + CSS animation. Locally scoped styles, zero CSS-in-JS runtime, motion via CSS transitions and @keyframes (Web Animations API only where CSS can't express it).
  • Accessible by default. Semantic elements first, ARIA to fill gaps, jest-axe in every component's tests.

Requirements

  • React 18 or 19 with the matching React DOM — both are peer dependencies (react / react-dom ^18.0.0 || ^19.0.0). isotope-ui does not require React 19, and there is no React 20 requirement; React 18 and 19 are supported equally.
  • Node.js ≥ 20.19 (declared in engines) to build or develop the library from source.

Install

pnpm add isotope-ui
import { Button } from 'isotope-ui';
import 'isotope-ui/styles.css'; // tokens + component styles

<Button tone="accent" size="md">
  Save
</Button>;

Only using the tokens? import 'isotope-ui/tokens.css'.

Works in React Server Components out of the box — the bundle ships a 'use client' banner, so Next.js App Router layouts can import components directly.

Uncontrolled by design

function Signup() {
  return (
    <form
      onSubmit={(e) => {
        e.preventDefault();
        const data = new FormData(e.currentTarget);
        api.signup(Object.fromEntries(data));
      }}
    >
      <FormField label="Email">
        <Input name="email" type="email" required />
      </FormField>
      <Button type="submit">Sign up</Button>
    </form>
  );
}

Theming

All tokens are CSS custom properties on :root. Override any of them:

:root {
  --iso-color-accent-solid-bg: #7c3aed;
  --iso-radius-md: 0;
}

The token shape is fixed and documented in docs/tokens.md; the values are yours.

Component inventory

| Tier | Components | | --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Atoms | Text, Icon, Avatar, Button, Input, Calendar, Checkbox, Switch, RadioButton, Tag, Progress, Skeleton, Image, Video, Link, Counter, ListItem, Caption, Th, Td, Tr | | Molecules | FormField, Select, RadioGroup, List, TableSection (Thead/Tbody/Tfoot), Toast, Chip, SearchBar | | Organisms | Dialog, Table, Navbar, Footer, ToastProvider/ToastRegion |

Status: under active development, building atoms-first. See the repo issues/PRs for progress.

Examples

examples/react-router and examples/nextjs are standalone apps (own lockfiles) that install the library via file:../.. and prove the two headline claims against the real packaged output:

  • Router-agnostic Link<Link asChild><RouterLink/></Link> / <Link asChild><NextLink/></Link>: the library styles, the router navigates.
  • Uncontrolled forms — FormField + Input/Select/RadioGroup/Counter submitting through FormData, no value props anywhere.

Development

pnpm install
pnpm storybook   # component workbench
pnpm test        # Jest + Testing Library + jest-axe
pnpm lint && pnpm typecheck && pnpm build

See CONTRIBUTING.md for the component checklist and docs/architecture.md for how the library is put together.

License

MIT