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

@micrographics-js/tailwind

v0.3.0

Published

Tailwind CSS plugin and preset for Micrographics — dark terminal theme tokens, utilities, animations

Readme

@micrographics-js/tailwind

Tailwind CSS plugin + preset for the Micrographics component library. Injects dark terminal theme tokens, utility classes, animations, and layout helpers.

Free and open source (MIT). Works standalone or alongside @micrographics-js/react etc.

Install

npm install @micrographics-js/tailwind

Usage

Full preset (recommended)

// tailwind.config.js
module.exports = {
  presets: [require("@micrographics-js/tailwind/preset")],
  content: ["./src/**/*.{js,ts,jsx,tsx,vue,svelte}"],
};

Plugin only

const micrographics = require("@micrographics-js/tailwind");
module.exports = { plugins: [micrographics.plugin] };

What you get

Theme tokens (auto-injected on :root)

| Variable | Default | Description | |---|---|---| | --mg-accent | #3ecf8e | Primary accent (green) | | --mg-accent-amber | #f5a623 | Warning | | --mg-accent-red | #e05252 | Error | | --mg-bg | #0d0e17 | Dark background | | --mg-fg | #e8e8e8 | Primary text |

Utility classes

<!-- Text & colors -->
<span class="text-mg-accent">ACTIVE</span>
<span class="text-mg-accent-amber">WARNING</span>
<div class="bg-mg-bg font-mg">Monospace dark panel</div>

<!-- Component shells -->
<div class="mg-card">...</div>
<div class="mg-panel"><div class="mg-panel-header">TITLE</div><div class="mg-panel-body">Content</div></div>

<!-- Badges -->
<span class="mg-badge mg-badge-active">ONLINE</span>
<span class="mg-badge mg-badge-warn">DEGRADED</span>
<span class="mg-badge mg-badge-error">FAILED</span>

<!-- Effects -->
<span class="mg-glow">Glowing text</span>
<div class="mg-scanlines">CRT scanline overlay</div>
<div class="mg-hud"><div class="mg-hud-corner mg-hud-corner-tl"></div></div>

<!-- Animations (from preset) -->
<span class="animate-mg-pulse">pulsing</span>
<span class="animate-mg-blink">blinking cursor</span>

Override accent color

<div class="[--mg-accent:#8b5cf6] [--accent:#8b5cf6]">
  <!-- all Micrographics components here render in violet -->
</div>

Part of Micrographics

84 animated micro-UI components for React, Vue, Svelte & Vanilla.

License

MIT