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

shadcn-glass-ui

v2.11.2

Published

Glassmorphism UI library for React - AI-friendly with 59 components, strict TypeScript, and comprehensive docs

Downloads

976

Readme

shadcn-glass-ui

npm version npm downloads TypeScript Bundle Size AI-Friendly

Glassmorphism components for React — drop-in compatible with shadcn/ui. 59 components, 3 themes, zero migration.


Quick Start

npm install shadcn-glass-ui
import { ButtonGlass, ThemeProvider } from 'shadcn-glass-ui';
import 'shadcn-glass-ui/styles.css';

export default function App() {
  return (
    <ThemeProvider defaultTheme="glass">
      <ButtonGlass variant="default">Click me</ButtonGlass>
    </ThemeProvider>
  );
}

Or via shadcn CLI — add to components.json:

{
  "registries": {
    "@shadcn-glass-ui": {
      "url": "https://raw.githubusercontent.com/Yhooi2/shadcn-glass-ui-library/main/public/r"
    }
  }
}
npx shadcn@latest add @shadcn-glass-ui/button-glass

Choose Your Path

| Goal | Resource | | ----------------------- | -------------------------------------------------------------- | | Get started | Getting Started Guide | | Browse components | Storybook | | Use with AI | AI Usage Guide | | Create custom theme | Theme Guide | | Migrate from v1.x | Breaking Changes |


Why shadcn-glass-ui?

| | shadcn-glass-ui | shadcn/ui | | ----------------- | ------------------------------- | ------------ | | Themes | 3 built-in (Glass/Light/Aurora) | 1 base | | Glass effects | Native blur, glow, transparency | Manual CSS | | Components | 59 specialized | ~40 base | | Custom theme | 15 lines CSS | Full rewrite | | AI docs | Context7, Claude Code, Copilot | Basic |

Works alongside shadcn/ui — same API, same CLI, no migration:

import { Button } from '@/components/ui/button';           // shadcn/ui
import { ButtonGlass } from '@/components/glass/ui/button-glass';  // Glass variant

<Button variant="outline">Standard</Button>
<ButtonGlass variant="default">Glassmorphism</ButtonGlass>

Components

| Category | Count | Examples | | --------------- | ----- | -------------------------------------------------- | | Core UI | 22 | ButtonGlass, InputGlass, ModalGlass, SidebarGlass | | Composite | 14 | MetricCardGlass, SplitLayoutGlass, AICardGlass | | Specialized | 9 | StepperGlass, SparklineGlass, RainbowProgressGlass | | Sections | 7 | HeaderNavGlass, ProfileHeaderGlass | | Atomic | 7 | SearchBoxGlass, ThemeToggleGlass |

Browse all 59 components →


Themes

Three built-in themes with instant switching:

  • Glass — Dark glassmorphism with purple accents
  • Light — Clean minimal with subtle glass
  • Aurora — Gradient glow effects
const { theme, cycleTheme } = useTheme();
<button onClick={cycleTheme}>Theme: {theme}</button>;

Create custom themes in ~15 linesTheme Guide


AI-Optimized

Built for AI coding assistants:

| Tool | Integration | | ---------------- | ------------------------------------------------------------------------------ | | Context7 MCP | Auto-indexed — 63 rules | | Claude Code | CLAUDE.md — 365 lines of context | | Copilot | TypeScript strict + JSDoc |

AI Usage Guide →


Documentation

| Resource | Description | | ------------------------------------------------------------------ | --------------------- | | Storybook | Interactive demos | | Getting Started | Installation & setup | | Component Catalog | All 57 components | | Theme Guide | Custom themes | | Token Architecture | 3-layer CSS system | | AI Usage | Claude, Copilot, GPT | | Breaking Changes | v1.x → v2.0 migration |


Requirements

  • React 18+ or 19+
  • Tailwind CSS 4.1+
  • Node.js 20.16+

Contributing

Contributions welcome! See CONTRIBUTING.md.

License

MIT — LICENSE