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

@assemblcorp/ui

v1.1.2

Published

Production-ready React UI library with 31 components, themes, and design system

Readme

@assemblcorp/ui

31 Base-UI wrapper components with integrated design tokens, 150+ patterns, and theme system.

Exports

// Components (31)
import { Button } from '@assemblcorp/ui/button'
import { Card } from '@assemblcorp/ui/card'
import { Dialog } from '@assemblcorp/ui/dialog'
import { Input } from '@assemblcorp/ui/input'
import { Select } from '@assemblcorp/ui/select'

// Design tokens & theme
import { primitiveTokens, semanticTokens } from '@assemblcorp/ui/theme'
import { useThemeId, useColorScheme, setColorScheme } from '@assemblcorp/themes'

// Patterns (150+)
import { focusRingPattern, transitionPattern, surfacePattern } from '@assemblcorp/ui/patterns'

// Utilities
import { cn } from '@assemblcorp/shared'
import { tv } from 'tailwind-variants'

// Styles (required, preferred)
import '@assemblcorp/ui/theme.css'

@assemblcorp/ui/styles remains as a legacy alias to theme.css, but new consumers should import @assemblcorp/ui/theme.css directly.

Dependencies

{
  "@assemblcorp/shared": "workspace:*",
  "@assemblcorp/kernel": "workspace:*",
  "@assemblcorp/themes": "workspace:*",
  "@base-ui/react": "^1.0+",
  "tailwind-variants": "^3.2.2",
  "tailwindcss": "^4.1.18"
}

Key Features

| Feature | Details | |---------|---------| | Components | 31 Base-UI wrappers with TailwindVariants styling | | Design Tokens | 3-tier: primitives → semantics → components | | Patterns | 150+ reusable class arrays (focus, transitions, surfaces) | | Dark Mode | CSS-first via semantic tokens + data-color-scheme | | Accessibility | WCAG AAA compliant, full ARIA support via Base-UI | | RTL Support | Logical properties (ms-, ps-, border-s, inset-inline-*) | | TypeScript | Strict mode, zero any types, VariantProps patterns |

Quick Start

// Component with variant
import { Button } from '@assemblcorp/ui/button'

<Button variant="solid" color="primary" size="md">
  Click me
</Button>

// Theme switching
import { useThemeActions } from '@assemblcorp/themes'

const { setColorScheme } = useThemeActions()
setColorScheme('dark')

Build

pnpm -C packages/ui build    # TypeScript → dist/
pnpm -C packages/ui typecheck

Output: dist/index.d.ts (types), dist/*.mts (built files)

Architecture

Component Pattern (Base-UI + TailwindVariants):

import { Input as BaseInput } from '@base-ui/react'
import { tv } from 'tailwind-variants'

const inputVariants = tv({
  base: 'px-3 py-2 rounded border border-emphasis',
  variants: { size: { sm: 'h-8', md: 'h-10' }}
})

export function Input({ size, ...props }) {
  return <BaseInput className={inputVariants({ size })} {...props} />
}

3-Tier Token System:

  1. Primitives - Raw colors, spacing (no semantic meaning)
  2. Semantics - Color roles (bg-surface-base, text-foreground), spacing scales
  3. Components - Applied at component level with TailwindVariants

Shared Patterns: Instead of hardcoding classes, use pattern arrays from patterns/:

import { focusRingPattern, transitionPattern } from '@assemblcorp/ui/patterns'

const buttonVariants = tv({
  base: [...transitionPattern, ...focusRingPattern, 'px-4 py-2']
})

Documentation

License

MIT