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

@invana/ui

v0.0.40

Published

Invana Design System - Reusable UI components

Readme

@invana/ui

Invana's React component library — shadcn-style primitives over Radix, plus the composed components the Invana products share.

pnpm add @invana/ui

Peer dependencies: react and react-dom (18 or 19).

Styles

Two ways in, and the difference matters.

Recommended — compile the tokens yourself. Your Tailwind v4 build sees @invana/styling's @theme block, so the design tokens (including the type ladder) are real tokens in your build:

@import "tailwindcss";

/* your own source globs, plus this package's so its classes are generated */
@source "./src/**/*.{ts,tsx}";
@source "../../node_modules/@invana/ui/dist/**/*.js";

@import "@invana/styling/index.css";

Or ship the precompiled sheet, if you are not running Tailwind:

import '@invana/ui/styles.css';

The precompiled sheet gives you CSS custom properties but not the @theme tokens — your own Tailwind will regenerate text-sm at its stock 0.875rem rather than the kit's value. Prefer the first form when you have a Tailwind build.

Usage

import { Button, Card, NavHorizontal, cn } from '@invana/ui';

export function Toolbar({ active }: { active: boolean }) {
  return (
    <Card className={cn('p-4', active && 'ring-1 ring-ring')}>
      <Button variant="outline">Run</Button>
    </Card>
  );
}

cn is the class merger used throughout the kit — clsx + tailwind-merge.

What's in it

Primitives (components/ui) — accordion, alert, alert-dialog, avatar, badge, breadcrumb, button, button-group, card, carousel, command, dialog, dropdown-menu, hover-card, item, kbd, menubar, navigation-menu, pagination, popover, progress, resizable, scroll-area, separator, sheet, sidebar, skeleton, sonner, spinner, status-dot, table, tabs, toggle, toggle-group, tooltip.

Composed (components/ui-extended) — layout and navigation (NavHorizontal, NavVertical, TabbedPanel, PanelStack, PanelBox, Toolbar, TreeView, ContextBar, FilterBar, SectionHeader, RecordHeader, EmptyState, Tour), charts and readouts (BarChartH, BarChartV, DivergingBar, Sparkline, HeatStrip, Legend, MetricTile, TaskGantt, TimelineList, PropertyList), and the Invana-domain composites (ChatSession, EmissionCard, CitationList, ProposalCard, DiagnosisCard, ClarifyCard, CannotAnswerCard, AgentChip, BoundChip, TaskNode, Terminal, DiffList, ClampedText, RichSelect).

Typography (components/typography) — exported both individually as TypographyH1 … TypographyPre, and as a Typography namespace object:

import { Typography, TypographyH1 } from '@invana/ui';

<TypographyH1>Runs</TypographyH1>
<Typography.Lead>Everything that ran today.</Typography.Lead>

H1–H6, P, Lead, Large, Small, Muted, Blockquote, Code, List, Pre.

Also exported: cn and the useOverflowItems hook.

Type scale

Three rungs — base · sm · xs — and the root is the only dial.

Components declare no font size: default text inherits the root. Text that is deliberately subordinate — a count, a timing, a row's subtitle — uses text-sm, and the genuinely small uses text-xs. Setting html to 13px gives you an application (13 / 12 / 11); 16px gives you a site (16 / 14.8 / 13.5), and every component follows, because each step is a ratio of the root.

There is no text-meta. It was a third name over the same 12px as text-xs, while text-sm was an alias of base — four class names over two sizes, with text-sm not meaning small. Retiring it was a 1:1 rename, so no pixel moved.

Documentation

Every component has a Storybook story. From the monorepo root:

pnpm --filter @invana/stoybook dev

License

MIT © Ravi Raja Merugu