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

glassykit

v1.0.3

Published

<div align="center"> <img src="https://img.shields.io/badge/React-19.1.0-blue" alt="React v19.1.0" /> <img src="https://img.shields.io/badge/TypeScript-5.8.3-blue" alt="TypeScript v5.8.3" /> <img src="https://img.shields.io/badge/TailwindCSS-4.1.7-b

Readme

Glassykit

Features

  • 🔍 Modern Glassmorphism - Beautiful frosted glass effect for all components
  • 🎨 Dark & Light Themes - Built-in theme system with smooth transitions
  • 🧩 Component Rich - 14+ customizable components
  • 📱 Responsive - Fully responsive design for all screen sizes
  • 🔧 Customizable - Easy to customize with Tailwind CSS
  • 📦 TypeScript Support - Full TypeScript definitions for all components

Installation

# With npm
npm install glassykit

# With yarn
yarn add glassykit

# With pnpm
pnpm add glassykit

Quick Start

Wrap your application with ThemeProvider to enable theme switching:

import React from 'react';
import { ThemeProvider, GlassButton } from 'glassykit';
import 'glassykit/styles/glass.css';
import 'glassykit/styles/themes.css';

function App() {
  return (
    <ThemeProvider>
      <div className="bg-gradient-to-br from-indigo-600 to-purple-800 min-h-screen flex items-center justify-center">
        <GlassButton>Click Me</GlassButton>
      </div>
    </ThemeProvider>
  );
}

export default App;

Components

Core Components

  • GlassButton - Versatile buttons with multiple variants
  • GlassCard - Container component with glass effect
  • GlassInput - Styled input field
  • GlassSelect - Dropdown select component
  • GlassModal - Modal/dialog component
  • GlassSwitch - Toggle switch component
  • GlassTooltip - Tooltip component for displaying information
  • GlassNavbar - Navigation bar component

Advanced Components

  • GlassAccordion - Collapsible content panels
  • GlassTabs - Tab navigation component
  • GlassBadge - Badge/label component
  • GlassSpinner - Loading spinner with multiple sizes
  • ToastProvider/useToast - Toast notification system

Component Examples

GlassButton

import { GlassButton } from 'glassykit';

function ButtonDemo() {
  return (
    <div className="space-x-2">
      <GlassButton>Default</GlassButton>
      <GlassButton variant="outline">Outline</GlassButton>
      <GlassButton variant="soft">Soft</GlassButton>
      <GlassButton variant="frosted">Frosted</GlassButton>
    </div>
  );
}

GlassCard

import { GlassCard } from 'glassykit';

function CardDemo() {
  return (
    <GlassCard className="p-6" hoverEffect shadow>
      <h2 className="text-xl font-bold mb-2">Glass Card</h2>
      <p>This is a card with a glass effect, hover animation, and shadow.</p>
    </GlassCard>
  );
}

Theme Switching

import { useTheme, GlassSwitch } from 'glassykit';

function ThemeToggle() {
  const { theme, setTheme, isDark } = useTheme();
  
  return (
    <div className="flex items-center gap-2">
      <span>Light</span>
      <GlassSwitch 
        checked={isDark} 
        onChange={(checked) => setTheme(checked ? 'dark' : 'light')} 
      />
      <span>Dark</span>
    </div>
  );
}

Toast Notifications

import { useToast, GlassButton, ToastProvider } from 'glassykit';

function ToastDemo() {
  const { showToast } = useToast();
  
  return (
    <GlassButton 
      onClick={() => showToast('Operation successful!', 'success')}
    >
      Show Success Toast
    </GlassButton>
  );
}

// Wrap your app with ToastProvider
function App() {
  return (
    <ThemeProvider>
      <ToastProvider>
        <YourApp />
      </ToastProvider>
    </ThemeProvider>
  );
}

Styling & Customization

GlassyUI uses Tailwind CSS for styling. You can customize the appearance by:

  1. Extending component styles using the className props
  2. Creating theme variations by extending the CSS variables in your application
/* Custom theme variation */
.theme-purple {
  --glass-bg: rgba(125, 60, 180, 0.2);
  --glass-border: rgba(180, 120, 220, 0.3);
  --accent-color: rgba(150, 100, 200, 0.6);
}

Prerequisites

GlassyUI requires:

  • React 16.8+ (hooks support)
  • Tailwind CSS 3.0+

Browser Support

GlassyUI uses modern CSS features like backdrop-filter which has the following browser support:

  • Chrome/Edge 76+
  • Firefox 70+ (requires enabling)
  • Safari 9+
  • iOS Safari 9+

For older browsers, components will still work but without the glass effect.

Contributing

We welcome contributions to GlassyUI! Please see our Contributing Guide for more details.

License

GlassyUI is released under the MIT License. See the LICENSE file for more details.