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

@empoweredvote/ev-ui

v0.2.2

Published

Shared React component library for the [Empowered Vote](https://empowered.vote) civic engagement platform. Used across CompassV2, essentials, read-rank, civic-spaces, and other Empowered Vote apps.

Readme

@empoweredvote/ev-ui

Shared React component library for the Empowered Vote civic engagement platform. Used across CompassV2, essentials, read-rank, civic-spaces, and other Empowered Vote apps.

npm version

Installation

npm install @empoweredvote/ev-ui

The package is on public npm — no auth or .npmrc configuration required.

Peer dependencies

npm install react react-dom @react-spring/web

Supported versions: React 17+, @react-spring/web 9+.

Usage

import { RadarChartCore, PoliticianCard, SiteHeader } from '@empoweredvote/ev-ui';
import { BallotIcon, CompassIcon } from '@empoweredvote/ev-ui';

Design tokens

Design tokens (colors, spacing, typography) are exported separately and can be used directly or via the Tailwind preset:

// tailwind.config.js
import evPreset from '@empoweredvote/ev-ui/tailwind-preset';

export default {
  presets: [evPreset],
  // your config
};

Direct token import:

import { colors, spacing } from '@empoweredvote/ev-ui/tokens';

Components

Charts

  • RadarChartCore — Interactive radar/spider chart with animated transitions, dual dataset overlays (e.g., your compass vs. a politician's), clickable spokes for inversion, and dynamic label wrapping.

Politician Display

  • PoliticianCard — Politician summary card with photo, title, district
  • PoliticianProfile — Full profile page with contact, bio, legislative record
  • CommitteeTable — Committee memberships and leadership roles
  • LegislativeInlineSummary, LegislativeRecord — Bill/vote history
  • JudicialScorecard, JudicialRecordDetail — Judicial record display
  • SocialLinks — Social media icon links
  • IssueTags — Topic/issue tag pills
  • StanceAccordion — Collapsible stance list by topic

Layout

  • SiteHeader — Top nav bar with defaultNavItems, defaultCtaButton helpers
  • Header — Simpler page header
  • FilterSidebar — Filterable sidebar for results pages
  • CategorySection, SubGroupSection, GovernmentBodySection — Grouped content sections

Forms

  • AuthForm — Login/signup form

Icons

  • BallotIcon, CompassIcon, BranchIcon

Hooks

  • useMediaQuery(query) — Responsive breakpoint hook

Releasing

This package uses an automated publish-and-fan-out pipeline:

npm version patch    # or minor / major
git push origin main --follow-tags

That's it. The tag push triggers .github/workflows/publish.yml which:

  1. Publishes to npm using OIDC trusted publishing (no NPM_TOKEN — provenance attestations auto-generated)
  2. Fires repository_dispatch to every consumer repo
  3. Each consumer opens a PR bumping the dependency
  4. Patch/minor bumps auto-merge after build-check passes
  5. Render auto-deploys each consumer on merge

See README-AUTOBUMP.md for full pipeline details, how to add a new consumer, and debugging tips.

Development

npm install
npm run build       # tsup produces ESM + CJS bundles to dist/

Design System Viewer

Design tokens are also rendered to a design system preview page deployed to GitHub Pages whenever design-system/ or src/tokens.js changes on main. See .github/workflows/deploy-design-system.yml.

License

Internal / Empowered Vote organization. See repository for details.