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

@ringer-tel/ui

v0.3.1

Published

Ringer UI components — shadcn-style React + Radix. Consumes @ringer-tel/tailwind-preset.

Readme

@ringer-tel/ui

React component library for the Ringer unified aesthetic — shadcn-style primitives plus the Sidebar/Topbar/SummaryTile/Logo recipes specific to Ringer's portal and marketing surfaces. Consumes @ringer-tel/tokens and @ringer-tel/tailwind-preset.

The whole bundle is marked 'use client'. Every component is either interactive or composes one that is. Server-component consumers (Next.js App Router, etc.) treat the package as an auto-managed client boundary.

Install

pnpm add @ringer-tel/ui @ringer-tel/tailwind-preset @ringer-tel/tokens react react-dom tailwindcss

Wire the preset into tailwind.config.ts and import the tokens CSS at app entry — see @ringer-tel/tailwind-preset for setup.

What's exported

Core primitives

| Component | Spec § | |---|---| | <Logo variant="auto" \| "color" \| "white" lockup="primary" \| "logomark" format="svg" \| "png" /> — auto-resolves to the brand-correct mark for the ambient data-theme. | §6.1 | | <Button variant="primary" \| "secondary" \| "accent" \| "ghost" \| "destructive" \| "link" size="sm" \| "md" \| "lg" \| "xl" /> | §6.2 | | <Badge variant="success" \| "pending" \| "live" \| "conflict" \| "neutral" /> — pill-shape status indicator. | §6.3 | | <Card> / <CardHeader> / <CardContent> / <CardFooter> | §6.4 | | <Input> | §6.6 | | <EventIcon kind={…} /> — 10 mapped event types (Lucide-backed). | §6.7 | | <Sparkline points={[…]} tone="inherit" \| "aqua" \| "tangerine" \| "destructive" /> — real-data only, ≥ 7 points. | §6.8 | | <SummaryTile tier="hero" accent="action" \| "clear" \| "destructive" /> / <SummaryTile tier="supporting" /> — TS discriminated union; accent required on hero. | §5.7 | | <Table> / <THead> / <TBody virtual?> / <TR> / <TH sticky? resizable? colId? defaultWidth?> / <TD sticky?> — sticky columns, resizable headers, virtualization-friendly. | §6.5 | | useHorizontalScrollState(ref) — companion hook for the data-scrolled-x shadow on sticky-column tables. | §6.5 |

Composite shells

| Component | Spec § | |---|---| | <SidebarProvider> + <Sidebar header? footer? /> + <SidebarSection> + <SidebarLink> + <SidebarTrigger> + useSidebar() — shadcn-aligned. Renders desktop fixed + mobile overlay siblings; CSS-gated by viewport. header slot (v0.3.0) replaces the default brand band; header={null} elides it. | §5.2, §6.9 | | <Topbar onSearchClick? searchHint? onMenuClick? /> — auto-wires mobile menu to the sidebar provider when one is present. | §5.3, §6.9 | | <MarketingHeader> + <MarketingFooter> | §5.4 |

ag-grid adapter

For consumers using ag-grid-community instead of the in-house <Table> primitives, also import the theme adapter:

import '@ringer-tel/ui/ag-grid.css';

Elevated card recipe

For auth/login cards and marketing CTA cards, add shadow-popover (a Tailwind utility from @ringer-tel/tailwind-preset):

<Card className="w-full border-border shadow-popover">
  {/* auth content */}
</Card>

The shadow-popover value is warm-black-tinted to feel Ringer-native. Don't reach for stock Tailwind shadow-lg on Ringer surfaces — it's pure-black and reads "stock SaaS template." See @ringer-tel/tailwind-preset and spec §5.6 for the full surface-tier table.

Versioning

Versioned in lockstep with @ringer-tel/tokens and @ringer-tel/tailwind-preset. Consumers should pin all three at the same major.minor.

Source + spec