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

@tlouverse/ui

v0.4.0

Published

Shared design system components for Tlouverse apps.

Readme

@tlouverse/ui

Shared UI primitives and shared interaction patterns for Tlouverse apps.

Foundation

This package standardizes on shadcn-style primitives built on top of Radix UI, then applies the Tlouverse design tokens and rules on top. It does not use Base UI. If an app currently uses Base UI wrappers, treat that as migration work, not as the reference implementation for this package.

Scope

This package exports reusable primitives and domain-agnostic composed interaction patterns:

  • Button
  • Badge
  • Breadcrumb
  • Calendar
  • Card
  • Chart
  • ContextMenu
  • DataTable
  • DatePicker
  • Drawer
  • DropdownMenu
  • Form
  • Input
  • Label
  • LaunchCard
  • Pagination
  • Popover
  • Progress
  • ProgressBar
  • Select
  • Separator
  • Switch
  • Toaster
  • Table
  • Textarea
  • Tooltip
  • Tabs
  • Typography

It should not contain app chrome or feature components such as headers, nav bars, dashboards, cards tied to a specific product domain, or page-level shells. It can contain shared semantic components when they represent the same interaction pattern across multiple apps.

Install

npm install @tlouverse/ui

Usage

Import the package stylesheet once from your app entry CSS:

@import "@tlouverse/ui/styles";

Then consume primitives from TypeScript:

import { Button, Card, LaunchCard, Toaster, Typography, toast } from "@tlouverse/ui";

Mount Toaster once near the app root, then call toast(...) from anywhere in client code.

LaunchCard

LaunchCard is the shared semantic pattern for app and tool launch grids. It composes the package Card and Typography primitives so hover, disabled, title, description, and status-label behavior stay consistent across apps.

Use Card when you only need a neutral container. Use LaunchCard when the UI represents a navigable or disabled launch surface in a grid or directory.

Example:

<LaunchCard
  icon={<Key className="size-4" />}
  title="Auth"
  description="Identity and access management"
/>

<LaunchCard
  icon={<Bot className="size-4" />}
  title="Automation"
  description="Background workflows and agent jobs"
  statusLabel="Soon"
  disabled
/>

Styles

The main stylesheet export includes:

  • the Inter Variable font import
  • Tailwind v4 theme tokens
  • baseline global styles
  • typography defaults for the document body

Additional style entrypoints are also exported when an app needs finer control:

  • @tlouverse/ui/styles/fonts.css
  • @tlouverse/ui/styles/theme.css
  • @tlouverse/ui/styles/typography.css

@tlouverse/ui/styles/tokens.css is kept as a compatibility alias for the theme layer.

Typography

Typography is organized around design roles rather than HTML tag names. Available variants:

  • display
  • lead
  • pageTitle
  • sectionTitle
  • cardTitle
  • body
  • muted
  • description
  • eyebrow
  • subLabel
  • small

Example:

<Typography variant="eyebrow">Kana</Typography>
<Typography variant="pageTitle">Quiz setup</Typography>
<Typography variant="muted">Choose the character set to practice.</Typography>

Development

npm run typecheck
npm run build

For package maintenance rules and the update workflow, see MAINTAINING.md.