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

glasswind

v0.1.2

Published

Glasswind — a glassmorphism React component library. Beautiful frosted-glass UI components with smooth, GPU-accelerated animations for React & Next.js.

Readme

🧊 Glasswind

A glassmorphism React component library. Beautiful frosted-glass UI components with smooth, GPU-accelerated animations — for React & Next.js.

npm install glasswind

✨ Why Glasswind?

  • 🧊 Signature glass look — every component has the frosted / blurred "liquid glass" aesthetic (like iOS), out of the box.
  • Buttery animations, zero lag — only transform & opacity are animated, so everything runs on the GPU compositor. No layout thrash, no jank, no heavy runtime.
  • 🎨 Themeable with CSS variables — change blur, tint, radius, colors, and dark mode by overriding a few CSS custom properties. No Tailwind required.
  • 📦 Just install & import — plain bundled CSS. Works with Create React App, Vite, Next.js (App & Pages router), Remix, etc.
  • 🔠 Fully typed — written in TypeScript, ships .d.ts types for perfect autocomplete.
  • Accessible — keyboard navigation, ARIA attributes, focus rings, and prefers-reduced-motion support.
  • 🪶 Lightweight — tree-shakeable ESM + CJS builds, no framework lock-in beyond React.

🚀 Quick start

Install the package:

npm install glasswind
# or: pnpm add glasswind / yarn add glasswind

Import the stylesheet once at your app's root, then use components anywhere:

// App entry (e.g. main.tsx, _app.tsx, or app/layout.tsx)
import 'glasswind/styles.css';
import { Button, Card, Modal } from 'glasswind';

export default function Example() {
  return (
    <Card>
      <h3>Welcome to Glasswind</h3>
      <Button variant="primary">Get started</Button>
    </Card>
  );
}

Next.js (App Router)

Add the stylesheet in your root layout:

// app/layout.tsx
import 'glasswind/styles.css';

export default function RootLayout({ children }: { children: React.ReactNode }) {
  return (
    <html lang="en">
      <body>{children}</body>
    </html>
  );
}

Interactive components (Modal, Drawer, Dropdown, Toast…) are client components — use them inside a file marked 'use client'. They're built SSR-safe, so no hydration errors.

🎨 Theming

Glasswind is driven entirely by CSS variables. Override any of them on :root (or any wrapper) to re-skin the whole library:

:root {
  --gl-blur: 20px;          /* stronger frost */
  --gl-primary: #ff6b6b;    /* brand accent */
  --gl-radius: 20px;        /* rounder corners */
  --gl-bg: rgba(255, 255, 255, 0.2);
}

Dark mode — add data-theme="dark" (or the class gl-dark) to <html> or any container:

<html data-theme="dark">

Every theme token is a CSS variable prefixed --gl- — override any of them to restyle the whole library.

🧩 Components

Buttons · Inputs · Textarea · Select · Checkbox · Radio · Switch · Slider · Card · Badge · Avatar · Accordion · Tabs · Progress · Spinner · Modal · Drawer · Dropdown · Tooltip · Toast — and growing.

Every component is written in TypeScript and ships full type definitions, so your editor's autocomplete surfaces all props, variants, and sizes as you type.

🛠️ Local development

npm install        # install dev deps
npm run dev        # open the live playground (Vite)
npm run build      # build the library into dist/
npm run typecheck  # type-check without emitting

The playground (playground/) renders every component over an animated gradient so you can see the glass effect while you build.

📄 License

MIT — free for personal and commercial use.