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

@thesage/ui

v1.0.0

Published

Sage Design Engine — Make it Lovable. 48+ accessible components, three themes, user-controlled motion.

Readme

Sage Design Engine (@thesage/ui)

npm version License Downloads

Sage — Make it Lovable.

Components that feel alive. Themes with real personality. Motion your users control. Designed for humans. Fluent with AI.

Documentation | Components | GitHub


Sage Design Engine is a component library and design system built on Radix UI primitives and Tailwind CSS. 48+ accessible components, three distinct themes with runtime switching, and a user-controlled motion system — all wired through a 4-layer design token architecture.

Features

  • Accessible by default — Built on WAI-ARIA standards via Radix UI. Keyboard navigable, screen reader compatible, WCAG AA contrast.
  • Three themes, real personality — Studio (professional), Terra (organic), Volt (electric). Runtime switching via CSS variables, light and dark modes each.
  • User-controlled motion — A 0–10 intensity scale that respects prefers-reduced-motion. Intensity 0 works perfectly — no degraded experience.
  • Modular imports — Core stays lean. Heavy features (forms, dates, tables, drag-and-drop, WebGL) ship as optional subpath exports — install only what you use.
  • Type safe — Written in TypeScript with full type inference. React 19 ref-as-prop pattern throughout.
  • Design token system — Colors, typography, spacing, motion, and syntax tokens. Change one primary color, everything updates.

Installation

pnpm add @thesage/ui

Sage requires Tailwind CSS as a styling engine:

pnpm add -D tailwindcss@^3.4 postcss autoprefixer

Optional subpath exports

Install peer dependencies only for the features you need:

# Forms (react-hook-form + zod validation)
pnpm add react-hook-form @hookform/resolvers zod

# Date picker
pnpm add react-day-picker date-fns

# Data tables
pnpm add @tanstack/react-table

# Drag and drop
pnpm add @dnd-kit/core @dnd-kit/sortable @dnd-kit/utilities

Configure Tailwind

/** @type {import('tailwindcss').Config} */
module.exports = {
  presets: [require('@thesage/config/tailwind')],
  content: [
    "./src/**/*.{ts,tsx}",
    "./node_modules/@thesage/ui/dist/**/*.{js,ts,jsx,tsx}"
  ],
}

Import styles

import '@thesage/ui/globals.css';

Usage

import { Button, Card, ThemeProvider } from '@thesage/ui';

export default function App() {
  return (
    <ThemeProvider theme="studio" defaultMode="system">
      <Card className="max-w-md p-6">
        <h3 className="mb-2 text-lg font-semibold">Welcome to Sage</h3>
        <p className="mb-4 text-muted-foreground">
          Build beautifully with components that feel premium out of the box.
        </p>
        <div className="flex gap-2">
          <Button>Get Started</Button>
          <Button variant="ghost">Documentation</Button>
        </div>
      </Card>
    </ThemeProvider>
  );
}

Subpath imports

import { useMotionPreference, useTheme } from '@thesage/ui/hooks'
import { ThemeProvider } from '@thesage/ui/providers'
import { cn } from '@thesage/ui/utils'

// Optional feature imports
import { Form, FormField } from '@thesage/ui/forms'
import { DatePicker } from '@thesage/ui/dates'
import { DataTable } from '@thesage/ui/tables'
import { SortableList } from '@thesage/ui/dnd'

Component categories

| Category | Examples | |----------|----------| | Actions | Button, Toggle, ToggleGroup | | Forms | Input, Select, Checkbox, Switch, Slider, SearchBar | | Navigation | Tabs, Menubar, Breadcrumb, Pagination, NavigationMenu | | Overlays | Dialog, Sheet, Popover, Tooltip, ContextMenu, HoverCard | | Data Display | Card, Avatar, Badge, Table, ScrollArea, Carousel | | Feedback | Alert, Progress, Skeleton, Toast (Sonner) | | Layout | Accordion, Separator, ResizablePanels, Collapsible | | Features | Customizer, ThemeSwitcher |

Bundle size

Core and optional entry points are independently tracked via size-limit:

| Entry point | Brotli size | |-------------|-------------| | Core | ~146 KB | | Hooks | ~40 KB | | Providers | ~60 KB | | Tokens | ~70 KB | | Utils | ~25 KB | | Forms | ~9.4 KB | | Dates | ~29 KB | | Tables | ~8.3 KB | | DnD | ~8.3 KB | | WebGL | ~1.1 KB |

License

MIT © Shalom Ormsby