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

@onehaul/ui

v0.1.150

Published

Core UI components library designed and developed by OneHaul

Readme

@onehaul/ui

Demo

Check out our live Storybook demo: OneHaul UI Components

About

A lightweight UI component library designed and developed by OneHaul for the world, featuring custom styles and behavior. This library provides a set of reusable React components built on top of Ant Design, offering a consistent and modern user interface.

Features

  • 🎨 Custom-styled components based on Ant Design
  • 🚀 Lightweight and optimized bundle size
  • 🌲 Tree-shakeable exports
  • 📦 Support for both CommonJS and ES Modules
  • 🎯 Simple and intuitive API
  • 💅 Customizable styles
  • ⚡️ Built with React and modern JavaScript

Installation

npm install @onehaul/ui

CSS Import

Important: You need to import the CSS file to get the component styles. Choose one of the following methods:

Method 1: Import CSS in your main app file (Recommended)

// In your main app file (App.js, index.js, or _app.js)
import '@onehaul/ui/styles';
// or
import '@onehaul/ui/dist/styles.css';

Method 2: Import CSS in your CSS file

/* In your main CSS file */
@import '@onehaul/ui/styles';
/* or */
@import '@onehaul/ui/dist/styles.css';

Method 3: Automatic import (if supported by your bundler)

Some components will automatically include their styles when imported, but for consistent results across all bundlers, we recommend using Method 1.

Theming

OneHaul UI supports two ways of theming:

  1. Default Theme
    • Pre-configured theme matching OneHaul's design system
    • Just wrap your app with ThemeProvider
import { ThemeProvider } from "@onehaul/ui";

function App() {
    return (
        <ThemeProvider>
            <YourComponents />
        </ThemeProvider>
    );
}
const customTheme = {
    token: {
        colorPrimary: "#your-color",
        // ... other customizations
    },
};

function App() {
    return (
        <ThemeProvider theme={customTheme}>
            <YourComponents />
        </ThemeProvider>
    );
}

Icons

OneHaul UI comes with a set of custom icons that can be imported separately from the main package. The icons are optimized SVGs that can be used as React components.

Installation

Icons are included in the main package but are tree-shakeable. You can import them from the /icons subpath:

import { Home, Search, Language } from '@onehaul/ui/icons';