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

@parto-system-design/ui

v1.1.24

Published

Persian-first, RTL-native React component library for public-opinion monitoring (افکارسنجی), social listening, and influencer analytics — Supabase-style design language adapted for Farsi typography.

Downloads

1,874

Readme

@parto-system-design/ui

Persian-first / RTL-native React component library for افکارسنجی (public-opinion monitoring), social listening, and influencer analytics. Supabase-style design language adapted for Farsi typography.

npm version license

What's inside

  • 170+ component entries — primitives, layout, forms, charts, data viz
  • Domain-aware for افکارسنجی: 5 audience-stance tokens, 9-emotion scale, 4-level severity, status pulse, 10 platform tokens (incl. TV / Radio / Press), action types, score tiers
  • Two themes: Light + Dark, both production-grade with full token coverage
  • RTL native: CSS Logical Properties throughout — no physical left/right
  • Trilingual: Persian (canonical), Arabic, English labels for every domain primitive
  • Charts: 8 wrappers over Recharts + custom Visx heatmap and word-cloud, all locale-aware (Persian-digit ticks, theme-resolved colors)
  • Tables: DataTable v2 with multi-column sort, sticky footer, column resize, virtualization, infinite scroll, expansion, pinning, column visibility, comparison view, CSV export

Install

pnpm add @parto-system-design/ui
# Peer deps:
pnpm add react react-dom
# Optional — only if you want next-themes integration:
pnpm add next-themes

The library externalizes its own dependencies (recharts, @radix-ui/*, @visx/*, etc.) so they install transparently via npm. No manual peer-dep wiring required.

Setup

1. Import the stylesheet

// app/layout.tsx (Next.js) or main.tsx (Vite)
import '@parto-system-design/ui/styles.css'

2. Tailwind theme (optional, recommended)

If your app uses Tailwind, extend the config so utility classes resolve the Parto tokens:

// tailwind.config.ts
import partoConfig from '@parto-system-design/ui/tailwind.config'

export default {
  ...partoConfig,
  content: [
    ...(partoConfig.content as string[]),
    './app/**/*.{ts,tsx}',
    './node_modules/@parto-system-design/ui/dist/**/*.{js,cjs}',
  ],
}

3. Next.js — transpile the package

// next.config.mjs
export default {
  transpilePackages: ['@parto-system-design/ui'],
}

Tree-shake-friendly subpath imports

For bundle-conscious apps, import each primitive from its own subpath. A single Button import drops from ~343 KB (full barrel) to ~11 KB — a 97% reduction:

// Bundle-conscious — each component pays for itself only
import { Button } from '@parto-system-design/ui/button'
import { Input } from '@parto-system-design/ui/input'
import { IranProvinceHeat } from '@parto-system-design/ui/iran-province-heat'
import { PartoLineChart } from '@parto-system-design/ui/line-chart'

// Or ergonomic barrel — works as before, fine if you import many components
import { Button, Input, Card, Avatar, Badge } from '@parto-system-design/ui'

Subpaths are exported for the 25 highest-traffic components (primitives, big surfaces, charts, domain cards, hooks). See package.json exports for the full list. Less common components remain available via the barrel import.

Quick start

import { Button, IranProvinceHeat, FilterProvider } from '@parto-system-design/ui'

export default function Page() {
  return (
    <FilterProvider initialState={{ q: '', province: null }}>
      <Button variant="primary">شروع</Button>
      <IranProvinceHeat
        data={{ tehran: 4820, isfahan: 2140, fars: 1480 }}
        valueSuffix=" نظر"
        topN={8}
        hideMissing
        showRank
      />
    </FilterProvider>
  )
}

Documentation

Full docs (Fumadocs v16) run locally on port 4200:

pnpm dev

The component manifest at component-manifest.md is auto-generated and lists every public export with its variants and data-slots — handy for AI agents.

License

MIT