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

@pompeitech/vesuvius-ui

v0.21.2

Published

Vesuvius UI — a React + TypeScript component kit built on Radix UI and Tailwind CSS v4, with 11 named color themes shipped as individually-importable subpaths.

Readme

@pompeitech/vesuvius-ui

The Vesuvius UI component kit: React 19 + TypeScript, built on Radix UI primitives and Tailwind CSS v4. Ships as a real, versioned, publishable package — compiled ESM + full .d.ts type declarations (see tsup.config.ts), not raw source. Design tokens and 11 named color themes ship as part of the same package, each individually importable.

This is 0.20.0 — the full component roadmap, shipped: all 20 atoms, all forty molecules (Select, List, Accordion, Popover, Tabs, Tooltip, Breadcrumb, Toggle, ToggleGroup, Dialog, DropdownMenu, AlertDialog, Command, Combobox, ConfirmDialog, Collapsible, Sheet, Sidebar, ThemeSwitcher, NotificationCenter, Toast, AvatarGroup, CopyButton, UserAvatar, EmptyState, Pagination, Table, Grid, Header, InputGroup, Stack, FilePreview, FileUploader, FilterBar, FormHelperText, Stepper, ContextMenu, NavigationMenu, ChartCard, StatCard), and all fifteen organisms: Charts (SimpleBarChart, SimpleLineChart, SimpleAreaChart, SimplePieChart, SimpleRadarChart, RadialProgressChart, Sparkline, HeatmapGrid), Calendar, DatePicker, DateRangePicker, DateTimePicker, DateTimeRangePicker, TimePicker, MultiSelect, PeopleSelect, Timeline, TreeView, Wizard, KanbanBoard, RichTextEditor (+ RichTextViewer), and DataTable, each fully tested and documented in Storybook — see the repo README for the full breakdown and CHANGELOG.md for release history.

Install

pnpm add @pompeitech/vesuvius-ui react react-dom

react/react-dom (^19.0.0) are peer dependencies — install them yourself if your app doesn't already have them.

Setup

This kit is Tailwind-authored and packaged: components render Tailwind utility classes, so the host app must process the stylesheet with Tailwind CSS v4. The package registers its compiled component output as a Tailwind source automatically; consumers do not need a package-relative @source rule.

1. Enable Tailwind CSS v4 using the integration for your framework (@tailwindcss/vite, @tailwindcss/postcss, or the Tailwind CLI).

2. Import styles once, in your app's global CSS entry — pick one:

/* Everything: tokens + all 11 named color themes. Simplest default. */
@import "@pompeitech/vesuvius-ui/styles.css";
@import "@pompeitech/vesuvius-ui/base.css";
@import "@pompeitech/vesuvius-ui/themes/lava.css";

Every theme lives at its own ./themes/<name>.css subpath — see src/styles/themes for the full list: lava (Vesuvius UI's own), stripe, vercel, supabase, linear, claude, amber-minimal, claymorphism, alpine, aubergine, plinio. ./themes.css bundles all of them in one import, same as ./styles.css minus the base tokens.

3. Wrap your app in ThemeProvider:

import { ThemeProvider } from "@pompeitech/vesuvius-ui";

export function App() {
  return (
    // Default: every built-in theme is selectable, "lava" applied first.
    <ThemeProvider>{/* ... */}</ThemeProvider>
  );
}

Only imported a subset of themes in step 2? Tell ThemeProvider to match, so it never applies a data-theme with no matching CSS loaded:

<ThemeProvider colorThemes={["lava", "vercel"]} defaultColorTheme="lava">

Usage

Every component, hook, and prop type is exported from the package root:

import { Button, Card, useTheme } from "@pompeitech/vesuvius-ui";

For the smallest possible JavaScript bundle, atoms are also available by their own subpath:

import { Button } from "@pompeitech/vesuvius-ui/atoms/button";
import { ThemeProvider } from "@pompeitech/vesuvius-ui/theme";

Types are always shipped (dist/index.d.ts, generated from source, not hand-maintained) — editor autocomplete and tsc both just work, no separate @types/pompeitech__vesuvius-ui package needed.

Local development (this monorepo)

Storybook consumes this package straight from src/ via a Vite alias (see apps/storybook/.storybook/main.ts), not the built dist/ — so there's no build step in the local dev loop. Run pnpm build only when you actually need the compiled output (e.g. before pnpm publish, or to sanity-check what a real consumer gets — pnpm pack and inspect the resulting tarball).