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

@moul-dev/ui

v2026.9.7

Published

Accessible, zero-runtime React component library built on React Aria and StyleX

Readme

@moul-dev/ui

Accessible, zero-runtime React component library built on React Aria and StyleX.

npm version License: MIT

Moul UI is a modular component library designed for product engineers who want a modern, consistent, and highly accessible baseline for React applications.

By merging the robust, accessible interaction primitives of React Aria with the compile-time type safety and efficiency of StyleX, Moul UI delivers beautiful default styles with zero runtime styling overhead.


✨ Features

  • Accessible by Default: Full keyboard navigation, screen reader support, ARIA semantics, and robust interaction states powered by React Aria.
  • Zero-Runtime Styling: Built with StyleX. Atomic CSS is extracted at build time, eliminating CSS-in-JS runtime overhead.
  • 🎨 Dynamic OKLCH Theming: Perceptually uniform color tokens with runtime hue and chroma customization for instant white-labeling.
  • 🌐 RTL & Logical Properties: Full bidirectional support using CSS logical properties (marginBlock, paddingInline, insetInlineEnd, etc.).
  • 🚀 Server Component (RSC) Ready: Fully compatible with modern React frameworks like Next.js, Remix, Waku, and Vite.
  • 📊 Rich Analytics & Charts: Production-grade data visualizations (AreaChart, BarChart, LineChart, DoughnutChart, TopList, Stat, Percentage) built on Recharts.

📦 Installation

Install @moul-dev/ui and its peer dependencies in your React project:

# Bun
bun add @moul-dev/ui @stylexjs/stylex

# npm
npm install @moul-dev/ui @stylexjs/stylex

# pnpm
pnpm add @moul-dev/ui @stylexjs/stylex

# yarn
yarn add @moul-dev/ui @stylexjs/stylex

🚀 Quick Start

1. Import the Stylesheet

Import the compiled StyleX CSS at the root of your application (e.g. main.tsx, index.tsx, or globals.css):

import '@moul-dev/ui/style.css';

2. (Optional) Wrap with ThemeProvider

Wrap your application tree or sections with ThemeProvider to control color schemes and custom brand variables:

import { ThemeProvider } from '@moul-dev/ui';

export function App({ children }: { children: React.ReactNode }) {
  return (
    <ThemeProvider colorScheme="light dark">
      {children}
    </ThemeProvider>
  );
}

3. Use Components

import { Button, Alert, Stat, LineChart, ChartContainer } from '@moul-dev/ui';

export function Dashboard() {
  const chartData = [
    { time: '09:00', ActiveUsers: 120 },
    { time: '12:00', ActiveUsers: 450 },
    { time: '15:00', ActiveUsers: 890 },
  ];

  return (
    <div style={{ display: 'flex', flexDirection: 'column', gap: '1rem', padding: '2rem' }}>
      <Alert variant="info" title="System Notice">
        Moul UI is running with zero runtime overhead.
      </Alert>

      <div style={{ display: 'grid', gridTemplateColumns: 'repeat(auto-fit, minmax(200px, 1fr))', gap: '1rem' }}>
        <Stat
          label="Total Revenue"
          value="$45,231.89"
          trend={{ direction: 'up', value: '+20.1% from last month' }}
        />
      </div>

      <ChartContainer title="User Activity">
        <LineChart
          data={chartData}
          indexKey="time"
          categories={['ActiveUsers']}
          height={260}
        />
      </ChartContainer>

      <Button variant="primary" onPress={() => alert('Clicked!')}>
        Get Started
      </Button>
    </div>
  );
}

📚 Documentation

For complete documentation, interactive previews, and component API references, visit:

📖 https://moul.dev/ui


🛠️ Monorepo & Development

This repository is managed with Bun:

# Install dependencies
bun install

# Run UI sandbox
bun run dev:ui

# Run documentation website
bun run dev:docs

# Run test suite
bun --cwd ui test

# Build library
bun run build:ui

📄 License

MIT © Moul