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

@omobio/ui

v0.2.0

Published

Omobio shared React UI kit: shadcn-style components, theme tokens, and hooks

Readme

@omobio/ui

Shared React UI kit for Omobio frontends: shadcn-style components, theme tokens, and hooks. Consumed by apps generated with create-app-ui.

Install

npm install @omobio/ui

Peer dependencies: react, react-dom (18+).

Usage

Import via subpaths (mirrors the source layout):

import { Button } from "@omobio/ui/components/ui/button";
import { DataTable } from "@omobio/ui/components/data-table";
import { ui, THEME } from "@omobio/ui/config/theme";
import { cn } from "@omobio/ui/lib/utils";
import { useIsMobile } from "@omobio/ui/hooks/use-mobile";

Apps generated by create-app-ui re-export these from src/components/ui/* stubs, so app code keeps importing @/components/ui/button.

Tailwind setup (consumers)

Component class names live in this package's compiled output, so add it to Tailwind content scanning:

// tailwind.config.ts
content: [
  "./index.html",
  "./src/**/*.{ts,tsx}",
  "./node_modules/@omobio/ui/dist/**/*.js",
],

Colors and radius come from CSS variables (--primary, --radius, …) defined in the app's globals.css — override them there to restyle every component without touching package code.

Overriding a component

Replace the app-side stub with your own implementation:

// src/components/ui/button.tsx (in your app)
import { Button as BaseButton, type ButtonProps } from "@omobio/ui/components/ui/button";
import { cn } from "@/lib/utils";

export function Button({ className, ...props }: ButtonProps) {
  return <BaseButton {...props} className={cn("uppercase tracking-wide", className)} />;
}
export { buttonVariants } from "@omobio/ui/components/ui/button";

Everything in your app importing @/components/ui/button now gets the custom version. Note: components inside the package (e.g. DataTable's pagination) still use the package-internal Button — use CSS variables for global restyling.

Development (monorepo)

cd ui-platform
npm install
npm run build:ui    # compile to packages/ui/dist

Source of truth is packages/ui/src. The boilerplate (boilerplate/react-base/src/components/ui/*) contains thin re-export stubs only.

Publish

cd ui-platform/packages/ui
npm publish --otp=YOUR_CODE

prepublishOnly builds dist/ automatically. The @omobio scope must exist on npm (org or user scope) — adjust the package name if needed.