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

@cordagehq/ui-design-system

v1.0.6

Published

Cordage Design System with Stitches, powered by Figma tokens

Readme

UI Design System — Components

A comprehensive design system built with React, Stitches CSS-in-JS, and Figma tokens.

Quick Start

Start Storybook

npm run storybook

Storybook will open at http://localhost:6006

Build Design System

npm run build

Run Tests

npm run test

Documentation

Project documentation and token sources live under design-workspace/. Ver design-workspace/README.md para crear rama y archivos desde un issue (etiqueta ui-design-workspace).

Getting Started

Font Awesome Pro Icons

Theme & Configuration

Tech Stack

  • React 18 - UI library
  • Stitches - CSS-in-JS for React
  • Figma Tokens - Design tokens automation
  • Font Awesome Pro - Icon library (9400+ icons in 5 styles)
  • Storybook 8 - Component documentation
  • Vite - Build tool
  • TypeScript - Type safety
  • Vitest - Testing framework

Scripts

# Development
npm run dev              # Start development server
npm run storybook       # Start Storybook documentation
npm run build-storybook # Build static Storybook

# Quality
npm run typecheck       # Type check with TypeScript
npm run lint           # Lint code with ESLint
npm run format         # Format code with Prettier

# Testing
npm run test           # Run tests with Vitest
npm run test:ui        # Run tests with UI
npm run test:coverage  # Generate coverage report

# Build
npm run build          # Build the package
npm run preview        # Preview the built package

# Iconography (design-workspace)
npm run generate:icons-index      # Generate icon index
npm run generate:icon-thumbnails  # Generate icon thumbnails
npm run generate:icon-docs        # Generate icon docs

Project Structure

packages/ui-design-system/
├── .storybook/             # Storybook configuration
├── design-workspace/       # Source docs, specs and token files
├── src/
│   ├── atoms/              # Basic UI elements
│   ├── molecules/          # Composed components
│   ├── stories/            # Storybook documentation
│   ├── stitches.config.ts  # Stitches theme configuration
│   └── index.ts            # Main entry point
└── package.json

Design Tokens

Design tokens are sourced from design-workspace/tokens/ and consumed by the generated theme in src/stitches.config.ts.

There is currently no public tokens:transform script exposed in package.json.

Tokens include:

  • Colors - Brand and semantic colors
  • Typography - Font sizes, weights, line heights
  • Spacing - Padding, margins, gaps
  • Border Radius - Rounded corner sizes
  • Shadows - Box shadows
  • Transitions - Animation durations and timing functions

Consuming this Package

Installation

npm install @cordagehq/ui-design-system

Using Components

import { styled } from '@cordagehq/ui-design-system/stitches.config';

const Button = styled('button', {
  padding: '$spacing-12 $spacing-16',
  backgroundColor: '$color-primary',
  borderRadius: '$borderRadius-md',
  // ... more styles
});

Using Tokens

import { getCssText, theme } from '@cordagehq/ui-design-system/stitches.config';

// Get CSS text for SSR
const styles = getCssText();

// Access theme tokens
const color = theme.colors['color-primary'];

Dark Theme

Dark theme is currently not exposed in the public API and src/theme-dark.ts is not present in the current src tree.

If dark theme support is reintroduced, this README section will be updated with the official setup flow.

Contributing

See documentation under design-workspace/docs/ for component and governance guidelines.

Consumed by

  • apps/frontend-app/
  • apps/frontend-lovable/

License

MIT