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 🙏

© 2025 – Pkg Stats / Ryan Hefner

tailwind-neon

v0.1.0

Published

Neon glow utilities for Tailwind CSS v4 — Text Glow, Box Glow, Outline Glow, and Glow Animations.

Readme

✨ Tailwind Neon

Beautiful neon glow utilities for Tailwind CSS v4 — Text Glow, Box Glow, Outline Glow, and Glow Animations.

Fully CSS-based. Zero-JS. Lightweight.


🚀 Installation

npm install tailwind-neon

🔧 Usage (Tailwind v4)

Simply import the stylesheet in your global CSS:

@import "tailwind-neon";

Tailwind will automatically register all utilities through @layer utilities.


✨ What’s Included

| Category | Utilities | | ---------------------- | ----------------------------------------------------------- | | Text Glow | text-glow-xs, text-glow-sm, text-glow, text-glow-lg | | Box Glow | glow-xs, glow-sm, glow, glow-lg | | Outline Glow | glow-outline, glow-outline-lg | | Animations | animate-glow-pulse, animate-glow-flicker | | Custom Glow Colors | Supports CSS variables:--glow-color, --text-glow-color, --outline-glow-color |


🔥 Text Glow

<p class="text-glow text-cyan-400">Default Glow</p>
<p class="text-glow-sm text-pink-400">Small Glow</p>
<p class="text-glow-lg text-purple-400">Large Glow</p>

🔷 Box Glow

<button class="px-4 py-2 rounded bg-cyan-400 text-white glow glow-cyan-400">
  Neon Button
</button>

Variants: glow-xs, glow-sm, glow, glow-lg


🟩 Outline Glow

<button class="px-4 py-2 rounded glow-outline text-cyan-300">
  Outline Glow
</button>

🎨 Custom Glow Colors

Glow colors can be customized in multiple ways. Text Glow defaults to using the element’s text color (currentColor), so you can simply use Tailwind text utilities:

<p class="text-glow text-green-400">Uses Tailwind's text-green-400 as the glow color</p>

For Box Glow and Outline Glow, or when you want independent control, use one of the following options:


Option 1: Inline override

<p class="text-glow" style="--text-glow-color: #39ff14;">
  Custom Green Text Glow
</p>

Option 2: Theme utility (Tailwind v4)

@theme {
  .neon-green {
    --glow-color: #39ff14;
  }
}

Usage:

<button class="px-4 py-2 rounded bg-cyan-400 text-white glow glow-neon-green">
    glow
</button>

✨ Glow Animations

<p class="text-glow animate-glow-pulse text-cyan-300">Pulse</p>
<p class="text-glow animate-glow-flicker text-cyan-400">Flicker</p>

📚 Demo

A full demo is included in this package and can be viewed locally:

demo/index.html

Open this file directly in your browser to preview all glow utilities, animations, and examples.

(Once GitHub Pages is enabled, an online demo will also be available.)


🧩 Features

  • Beautiful neon glow utilities (xs/sm/default/lg)
  • Text glow, box glow, outline glow
  • Pulse & flicker animations
  • Tailwind v4 native (@layer utilities)
  • Zero-JS, lightweight

📄 License

MIT