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

@plexui/ui

v0.7.0

Published

Modern design system for building high-quality applications

Readme

@plexui/ui

A modern React component library with 35 production-ready components, 14 hooks, a three-layer design token system, and a unified 9-step size scale — all powered by Radix primitives and Tailwind CSS 4.

DocumentationGitHubFigma Kit

Figma Design System PRO — 22,000+ variants, all on Figma Variables. Get the kit →


Highlights

  • Production-grade — components designed and tested for real products at scale.
  • 9-step size scale — all key controls (Button, Input, Select, SegmentedControl, etc.) share a unified ControlSize scale from 3xs (22 px) to 3xl (48 px). Most competitors offer only 3–4.
  • Three-layer design tokens — primitive → semantic → component CSS custom properties with light-dark() theming, alpha transparency scale, and 4-level elevation system.
  • Radix + Tailwind 4 — accessible primitives under the hood, utility-first styling on top.
  • Built for AI code editors — consistent naming, clear token system, and comprehensive props give Claude, Cursor, Codex & other AI tools the building blocks to generate professional UI.

Installation

npm install @plexui/ui

Peer dependencies

The package requires the following peers — install them if they are not already in your project:

npm install react react-dom tailwindcss

| Peer | Version | |------|---------| | react | ^18 \|\| ^19 | | react-dom | ^18 \|\| ^19 | | tailwindcss | ^4.0.10 |


Setup

1. Import CSS

Add the Plex UI stylesheet to your global CSS file alongside Tailwind:

/* app/globals.css */
@import "tailwindcss";
@import "@plexui/ui/css";

2. Wrap your app in PlexUIProvider

PlexUIProvider supplies shared context (e.g. the link component) to all Plex UI components.

// app/layout.tsx (Next.js example)
import { PlexUIProvider } from "@plexui/ui/components/PlexUIProvider";

export default function RootLayout({ children }: { children: React.ReactNode }) {
  return (
    <html lang="en">
      <body>
        <PlexUIProvider linkComponent="a">
          {children}
        </PlexUIProvider>
      </body>
    </html>
  );
}

Next.js: Pass your <Link> component from next/link as linkComponent so navigation links use client-side routing.

3. Use components

import { Button } from "@plexui/ui/components/Button";

export function Example() {
  return (
    <Button color="primary" variant="solid" size="md">
      Get started
    </Button>
  );
}

Exports

All exports use subpath imports for optimal tree-shaking.

Components

import { Button, ButtonLink } from "@plexui/ui/components/Button";
import { Input } from "@plexui/ui/components/Input";
import { Select, Option } from "@plexui/ui/components/Select";
// ... 35 components total

Alert, Avatar, AvatarGroup, Badge, Button, ButtonLink, Checkbox, CodeBlock, CopyTooltip, DatePicker, DateRangePicker, EmptyMessage, FieldError, FloatingLabelInput, Icon, Image, Indicators (LoadingIndicator, LoadingDots, CircularProgress), Input, Markdown, Menu, PlexUIProvider, Popover, ProgressSteps, RadioGroup, SegmentedControl, Select, SelectControl, ShimmerText, Sidebar, Skeleton, Slider, Switch, TagInput, TextLink, Textarea, Tooltip, Transition (Animate, AnimateLayout, AnimateLayoutGroup, TransitionGroup)

Hooks

import { useBreakpoints } from "@plexui/ui/hooks/useBreakpoints";
import { useScrollable } from "@plexui/ui/hooks/useScrollable";
// ... 14 hooks total

Types

import type { ControlSize, SemanticColors, Variants } from "@plexui/ui/types";

CSS

@import "@plexui/ui/css";

Utilities

import { theme } from "@plexui/ui/theme";
import { helpers } from "@plexui/ui/helpers";
import { dateUtils } from "@plexui/ui/dateUtils";

Size scale

All key controls share a unified height scale:

| Size | Height | |------|--------| | 3xs | 22 px | | 2xs | 24 px | | xs | 26 px | | sm | 28 px | | md | 32 px (default) | | lg | 36 px | | xl | 40 px | | 2xl | 44 px | | 3xl | 48 px |


Dark mode

Plex UI uses the CSS light-dark() function. Toggle between themes by setting the color-scheme property on the root element:

:root { color-scheme: light; }       /* light theme */
:root { color-scheme: dark; }        /* dark theme */
:root { color-scheme: light dark; }  /* follows OS preference */

License

MIT