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

@codeforamerica/marcomms-design-system

v1.10.0

Published

[![Chromatic](https://www.chromatic.com/badge?appId=631e8e64823eeaf059291177)](https://www.chromatic.com/library?appId=631e8e64823eeaf059291177)

Downloads

776

Readme

Code for America MarComms Design System

Chromatic

Overview

This design system helps our team build websites that look and feel consistent with our brand. It's built with SCSS and web components, using modern CSS features like container queries and custom properties. The system includes design tokens, reusable components, and layout utilities.

Features

  • Design Tokens: Consistent spacing, colors, typography, and layout values
  • Responsive Grid: Flexible 12-column grid with CSS gap support
  • Web Components: Reusable components built with Lit
  • Layout Utilities: Stack, cluster, grid, and section patterns

Installation

npm install @codeforamerica/marcomms-design-system

Usage

CSS styles

Import all styles:

@import '@codeforamerica/marcomms-design-system/src/styles.scss';

Or import specific parts:

@import '@codeforamerica/marcomms-design-system/src/core/tokens';
@import '@codeforamerica/marcomms-design-system/src/core/grid';
@import '@codeforamerica/marcomms-design-system/src/core/layout';

JavaScript components

Import all components:

import '@codeforamerica/marcomms-design-system';

Or import specific components:

import '@codeforamerica/marcomms-design-system/src/components/card.js';
import '@codeforamerica/marcomms-design-system/src/components/button.js';

Development

Prerequisites

  • Node.js 20+
  • npm

Getting started

# Clone the repository
git clone https://github.com/codeforamerica/marcomms-design-system.git
cd marcomms-design-system

# Install dependencies
npm install

# Start development server
npm run develop

# Start Storybook
npm run storybook

Scripts

  • npm run build - Build production assets
  • npm run develop - Watch and build development assets
  • npm run storybook - Start Storybook development server
  • npm run build-storybook - Build static Storybook
  • npm run chromatic - Deploy to Chromatic for visual testing

Design tokens

The system includes design tokens for:

  • Spacing: Layout and component spacing scales
  • Colors: Brand colors, grayscale, and semantic colors
  • Typography: Font families, sizes, and line heights
  • Layout: Grid breakpoints and container sizes

Browser support

  • Modern browsers (>0.2% usage)
  • No Internet Explorer support
  • Progressive enhancement for older browsers

Documentation

Release process

This project automatically creates new versions and publishes them:

How it works

  • Auto Versioning: Version numbers are created based on your commit messages
  • NPM Publishing: New versions publish to NPM automatically when you merge to main
  • GitHub Actions: Builds, tests, and publishes everything without manual work

Writing commits

Use these commit message formats to control version changes:

feat: add new card component          # New feature (1.0.0 → 1.1.0)
fix: resolve button spacing issue     # Bug fix (1.0.0 → 1.0.1)
feat!: redesign grid system          # Breaking change (1.0.0 → 2.0.0)
docs: update README examples         # No version change

What happens when you merge

  1. Pull Request: Creates a preview build for review
  2. Merge to Main: Starts the release process
  3. Version Check: Looks at your commits to decide the new version number
  4. NPM Release: Publishes the new version to @codeforamerica/marcomms-design-system
  5. Documentation Update: Updates the live Storybook site

What gets published to NPM

  • Built files ready to use in /dist
  • Source files for custom setups in /src
  • Documentation and package info

Maintainer

Fritz Jooste
Lead Front-end Developer, MarComms Team
[email protected]