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

@base-xui/react-xui

v0.2.1

Published

React XUI Component Library

Readme

React XUI Component Library

A modern React component library built with Vite, TypeScript, and Tailwind CSS.

Installation

npm install react-xui
# or
yarn add react-xui
# or
pnpm add react-xui

Usage

import { Button } from "react-xui";

function App() {
  return <Button variant="primary">Click me</Button>;
}

Local Development

Building the Package

To build the library locally:

pnpm build:package

Testing Locally with yalc

For testing the package in another local project without publishing to npm:

  1. Install yalc globally (if not already installed):

    npm install -g yalc
    # or
    pnpm install -g yalc
  2. Build and publish the package locally:

    # In react-xui directory
    pnpm build:package
    yalc publish
  3. In your test application:

    # In your test app directory
    yalc add react-xui
    npm install # or pnpm install
  4. When you make changes to the library:

    # In react-xui directory
    pnpm build:package
    yalc push

    Or use watch mode for continuous updates:

    pnpm build:watch

    And in another terminal:

    yalc push --watch
  5. To remove the yalc link:

    # In your test app directory
    yalc remove react-xui
    npm install # or pnpm install

Development

Available Scripts

  • pnpm storybook - Start Storybook for component development
  • pnpm build:storybook - Build Storybook for deployment
  • pnpm test - Run tests
  • pnpm lint - Lint code
  • pnpm format - Format code
  • pnpm build:watch - Build in watch mode for development

Project Structure

  • lib/src/ - Component source code
  • lib/src/components/ - UI components
  • lib/src/utils/ - Utility functions
  • lib/tests/ - Test utilities

Contributing

Development Workflow

  1. Create a new branch from development:

    git checkout development
    git pull
    git checkout -b feature/my-feature
  2. Make your changes and commit them using conventional commits:

    git commit -m "feat: add new button variant"
  3. Add a changeset to document your changes:

    pnpm changeset
    • This will prompt you to:
      • Select which packages to include in the changeset
      • Choose the type of change (major, minor, patch)
      • Write a summary of the changes
  4. Commit the generated changeset file:

    git add .changeset/*.md
    git commit -m "chore: add changeset"
  5. Push your branch and create a PR against the development branch:

    git push -u origin feature/my-feature

Release Process

When changes are merged to the main branch:

  1. The CI workflow will run tests and build the package
  2. The release workflow will:
    • Version the packages based on changesets
    • Update changelogs
    • Publish the package to npm

If there are changesets on the development branch, when you merge to main:

  • A release PR will be created automatically
  • Merging this PR will trigger the version bump and publish

Working with Changesets

  • pnpm changeset - Create a new changeset
  • pnpm version-packages - Bump versions and update changelogs locally
  • pnpm release - Publish packages to npm (only runs in CI)

License

MIT License