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

merak-protocol-design-system

v0.2.5

Published

Merak Protocol design system CSS, component examples, and Codex agent skill.

Readme

Merak Protocol Design System

Pastel lavender-gray dark UI with stroke-less surface tiers, soft ambient elevation, and Alice Blue as a trust/selection signal for traceability, permission gates, AI agent workflows, and archive interfaces.

Status containers stay neutral. Large panels (alert, toast, decision banner, confidence meter, empty state, gate card) use inset/elevated surfaces; semantic color lives on icons, rails, bars, and compact badges—not full-bleed weak washes.

Demo

Live Demo

Install

npm install merak-protocol-design-system

CSS

import "merak-protocol-design-system/style.css"

Use merak-protocol-design-system/showcase.css only for the bundled component gallery. Reusable layout patterns use mp-* classes such as mp-eyebrow, mp-section-heading, mp-grid, mp-grid--wide, mp-grid--start, mp-button-row, and mp-badge-row.

The package includes CSS variables, base styles, motion utilities, and component styles under src/styles.

Optional browser-native behavior components are documented in docs/custom-elements.md.

Use renderMerakMarkdown() from merak-protocol-design-system/markdown to convert Markdown into HTML built from existing Merak components. See docs/markdown.md.

Component inventory

Public surface is CSS-first (mp-*). Showcase helpers under src/*.js are demo wiring, not package exports (unless listed in package.json exports).

| Area | Classes / files | | --- | --- | | Foundation | tokens, base, patterns, motion | | Actions | mp-button, badges | | Surfaces | mp-card, link list, list, divider | | Forms | mp-field, mp-input, mp-select, mp-checkbox, mp-radio, mp-switch | | Feedback | mp-alert, mp-toast, mp-toast-region, mp-progress, mp-skeleton, mp-empty-state, mp-spinner | | Data | table, graph, timeline, inspector | | Shell | sidebar, tabs, command input | | Domain | gate card, agent panel | | Identity | confidence meter, decision banner, evidence list, filter bar | | Navigation | breadcrumb, pagination, command palette, context menu | | Overlay | dialog, drawer, popover, tooltip, dropdown menu |

Showcase sections live in src/main.js (Components 01–26 + Markdown integration).

Local development

npm install
npm run dev
npm run build
  • npm run lint:css — Stylelint on src/**/*.css
  • npm test — Playwright showcase tests (requires browsers: npx playwright install)

Codex Skill

The agent skill Markdown lives in the package at:

skills/merak-protocol-design-system/SKILL.md

Package subpaths for tooling (file paths, not JS modules):

merak-protocol-design-system/skill
merak-protocol-design-system/skill.md

Resolve those exports as documentation for Codex/agents. Do not import them as JavaScript—there is no default export; read the Markdown as text or point the agent skill loader at the file path.

It guides design, implementation, and review of Merak Protocol UI (tokens, mp-* components, a11y, and product-flow composition).

Docs

See docs/README.md for concept, architecture, component contract, and ADRs.