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

liquidglass-tailwind

v0.1.0

Published

Apple Liquid Glass design system for Tailwind CSS — glass surfaces, refraction, specular highlights, and accessible translucent UI components

Readme

liquidglass-tailwind

Apple's iOS 26 Liquid Glass design system for Tailwind CSS.

One install gives you two things:

  1. Tailwind CSS plugin — ready-to-use glass component classes
  2. Claude Code skill — AI-assisted Liquid Glass design guidance (auto-installed to ~/.claude/skills/)

Install

npm install liquidglass-tailwind

That's it. The Tailwind plugin is ready and the Claude Code skill is automatically installed.

Setup

Tailwind v4

/* styles.css */
@import "tailwindcss";
@plugin "liquidglass-tailwind";

Tailwind v3

// tailwind.config.ts
import liquidGlass from "liquidglass-tailwind";

export default {
  plugins: [liquidGlass],
};

Usage

Components

<!-- Card -->
<div class="glass-card glass-shine">
  <h2>Hello</h2>
  <p>Translucent card with specular highlight</p>
</div>

<!-- Elevated card -->
<div class="glass-card-elevated glass-shine">
  Featured content with deeper blur
</div>

<!-- Buttons -->
<button class="glass-btn text-white">Primary</button>
<button class="glass-btn-secondary text-white/90">Secondary</button>
<button class="glass-btn-pill text-white/90">Pill</button>

<!-- Navbar -->
<nav class="glass-nav h-16 flex items-center px-6">
  Navigation
</nav>

<!-- Modal / Sheet -->
<div class="glass-modal p-6">
  Sheet content
</div>

<!-- Input -->
<input class="glass-input text-white" placeholder="Email" />

<!-- Segmented control -->
<div class="glass-segment">
  <button class="glass-segment-item glass-segment-item-active text-white">Tab 1</button>
  <button class="glass-segment-item text-white/60">Tab 2</button>
</div>

Utilities

<!-- Glass surfaces (backdrop-filter + saturate) -->
<div class="glass-surface">...</div>      <!-- blur 16px -->
<div class="glass-surface-sm">...</div>   <!-- blur 8px  -->
<div class="glass-surface-lg">...</div>   <!-- blur 24px -->
<div class="glass-surface-xl">...</div>   <!-- blur 40px -->

<!-- Specular shine overlay -->
<div class="glass-card glass-shine">...</div>
<div class="glass-card glass-shine-subtle">...</div>

Theme tokens

The plugin extends your Tailwind theme with glass-specific tokens:

| Token | Example classes | |-------|----------------| | colors.glass.* | bg-glass-light, bg-glass-subtle, bg-glass-dark | | colors.glass-border.* | border-glass-border, border-glass-border-subtle | | borderRadius.glass* | rounded-glass, rounded-glass-lg, rounded-glass-xl | | boxShadow.glass* | shadow-glass, shadow-glass-lg, shadow-glass-elevated |

Coloring buttons

Combine glass classes with Tailwind color utilities:

<button class="glass-btn text-white bg-blue-500/25 border-blue-400/20">Accent</button>
<button class="glass-btn text-white bg-emerald-500/25 border-emerald-400/20">Success</button>
<button class="glass-btn text-white bg-red-500/25 border-red-400/20">Danger</button>

Accessibility

The plugin ships with built-in accessibility support:

  • prefers-reduced-transparency — glass surfaces fall back to solid opaque backgrounds
  • prefers-reduced-motion — hover/active animations are disabled

Always ensure sufficient text contrast over translucent backgrounds.

Claude Code skill

After install, the skill is available at ~/.claude/skills/liquidglass-design.md.

It provides Claude Code with:

  • Liquid Glass design principles and guidelines
  • Component patterns and anti-patterns
  • Opacity hierarchy tables
  • Dark mode adaptation rules
  • Accessibility requirements
  • Performance best practices

Invoke it by mentioning "liquid glass", "glass design", or "iOS 26 style" in your Claude Code session.

To reinstall the skill manually:

cp node_modules/liquidglass-tailwind/skill/liquidglass-design.md ~/.claude/skills/

Demo

cd demo && npm install && npm run dev

License

MIT