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

aura-glass

v2.16.2

Published

A comprehensive glassmorphism design system for React applications with 142+ production-ready components

Readme

AuraGlass

The living glass OS for interfaces that feel hand-polished, emotionally aware, and production ready from day one. AuraGlass marries premium-grade craft with quantum-inspired intelligence, delivering self-healing glassmorphism, multi-sensory feedback, and Genesis-powered AI systems that rewrite what premium software can feel like.

Over 356 adaptive components. 17 world-first inventions. 8 AI-powered suites. One cohesive ecosystem that designs, optimizes, and deploys itself.

Table of Contents

Vision

A new class of interface deserves more than a component library. AuraGlass senses biometrics, adapts in milliseconds, and orchestrates spatial audio, haptics, neuromorphic learning networks, and GPU-grade material physics. It is a self-optimizing foundation for premium flagships, immersive commerce, and consciousness-aware control rooms.

Proof points

  • Future-native – Quantum UI states, neural weights, and probabilistic gestures allow interfaces that anticipate intention.
  • Self-healing – GlassMetaEngine detects visual or accessibility drift and restores perfection automatically.
  • Environmental intelligence – Sensors, biometrics, and contextual cues feed a contextual engine that reharmonizes tint, tone, and behavior in real time.
  • Enterprise hardening – Auth, rate limiting, Redis caching, Sentry monitoring, Docker/Kubernetes assets, and CI/CD templates ship in the box.

What’s New in 2.1

Design Matrix Persona System

AuraGlass 2.1 introduces the Design Matrix: a canonical system of ten personas (Midnight Slate, Midnight Meridian, Solar Apex, Violet Nebula, Aurora Noir, Helios Foundry, Glacier Morn, Terra Inflect, Lumen Veil, Nimbus Relay) that power runtime theming, metadata, and adaptive styling. Each persona defines semantic tokens for backgrounds, text, borders, accents, states, shadows, gradients, and charts, ensuring cohesive experiences across applications.

Key Features:

  • Canonical Dataset: Defined in src/theme/designMatrix.ts, personas include metadata (name, description, context) and tokens for colors, typography, motion, and glassmorphism parameters.
  • Runtime Theming: Use ThemeProvider with initialPersona or controlled persona props to apply themes; persists via localStorage if persistPersona is enabled.
  • PersonaPicker Component: Drop-in <PersonaPicker /> for seamless switching, sourced from the Design Matrix.
  • Autogenerated CSS: Run npm run glass:generate-persona-css to create [data-persona] variables in src/styles/generated/persona-variables.css; validate in CI with npm run glass:validate-persona-css.
  • Integration: Components like GlassAppShell, GlassHeader, and charts automatically consume persona tokens for focus rings, shadows, and palettes.

Usage Example:

import { ThemeProvider, PersonaPicker, usePersonaTheme } from 'aura-glass';

function App({ children }) {
  return (
    <ThemeProvider initialPersona="midnight-slate" persistPersona>
      <PersonaPicker orientation="horizontal" />
      {children}
    </ThemeProvider>
  );
}

function PersonaAwareComponent() {
  const { personaId, persona, setPersona } = usePersonaTheme();
  return (
    <button onClick={() => setPersona('solar-apex')}>
      Switch to {persona.meta.name} ({personaId})
    </button>
  );
}

This system eliminates manual theming, ensures WCAG compliance per persona, and scales to new domains while maintaining AuraGlass's glassmorphism DNA.

  • Universal SSR helpers – Import from aura-glass/utils/env for isBrowser, safeMatchMedia, getSafeWindow, useClientEffect, and deterministic hydration everywhere.
  • Deterministic effectsSeededRandom plus seed props on SeasonalParticles and GlassShatterEffects render identical markup on the server and the client.
  • Advanced + quantum components – Living ecosystem simulators, neuromorphic learning networks, and quantum entanglement visualizers extend AuraGlass beyond UI.
  • Consciousness streamingConsciousnessStreamProvider centralizes event logging and response logic for consciousness-aware flows.
  • Exported tooling constants – Access component_inventory_json_path and reduced-motion guides at build time to automate audits.

React 18/19 + 3D Effects Compatibility (2.1.5)

AuraGlass 2.1.5 hardens React 18/19 compatibility for all 3D glass effects while keeping standard components drop-in safe for existing React 18 stacks.

  • Isolated 3D entrypoint – All R3F-heavy components now live under the aura-glass/three entry (e.g. GlassShatterEffects, SeasonalParticles, AuroraPro, ARGlassEffects and helpers like shatterPresets, auroraThemes, ARGlassAnimations). The root aura-glass entry no longer imports @react-three/fiber.
  • React-aware lazy loading – 3D components are implemented as .r3f modules with thin wrappers that lazily import them only when React 19 is detected at runtime; React 18 receives styled fallback containers that preserve layout without touching R3F internals.
  • Safer presets & factories – Presets and AR helper factories have been moved into non-R3F helper modules so they can be imported without forcing Three/Fiber into SSR bundles.
  • Next.js integration matrix – CI now spins up two Next.js test apps from the published tarball: React 18 + Next 14.2 (root entry only) and React 19 + Next 15 (using aura-glass/three); Playwright smoke tests fail the build if hook/registry errors or reconciler crashes are detected.

Signature Systems

Living Intelligence

  • GlassMetaEngine rebalances layouts with quantum-inspired optimization and neural healing models.
  • AI Auto-Composer translates natural language prompts into layouts that match design tokens and performance budgets.
  • Contextual Engine fuses biometrics, sensor arrays, and environment data to deliver perfectly tuned states.
  • NeuroSync introduces EEG-aware UI modulation for focus, calm, or celebration moments.

Spatial + Sensory Presence

  • Omniverse Engine synchronizes AR, VR, MR, and web surfaces with holographic glass rendering.
  • Multi-Sensory Hub choreographs haptics, spatial audio, ambient particles, and lighting cues.
  • Spatial Persistence preserves component state across devices for always-on experiences.

Quantum & Neuromorphic R&D

  • Quantum UI States keep interactions in graceful superposition until intent collapses.
  • Quantum-Neuromorphic Engine brings biometric stress detection, molecular bonding interactions, multi-dimensional gesture recognition, and living ecosystem simulation into a single programmable layer.

Liquid Glass Parity+

AuraGlass reproduces the physics and restraint of handcrafted premium glass, then adds controls for every production edge case.

  • LiquidGlassMaterial primitive – Physically accurate Snell’s law refraction, tunable IOR bands (1.33–1.52), and thickness controls.
  • Environmental adaptation – Automatic WCAG AA/AAA compliance by sampling real-time luminance.
  • GPU acceleration with grace – WebGL shaders where available, CSS fallbacks everywhere else.
  • Motion responsiveness – Device tilt, micro-interactions, and ripple physics connect touch to light.
  • Contrast Guard – Backdrop-aware tinting keeps text legible across unpredictable imagery.
  • Quality tiers – Ultra/High/Balanced/Efficient profiles decide shader cost, particle density, and sampling budgets.
  • Zero breaking changes – Opt into material="liquid" for legacy safety.

Multi-Sensory + AI Suite

  • GlassIntelligentFormBuilder, GlassPageBuilder, and Genesis-inspired CMS tools craft intelligent content journeys.
  • GlassAdvancedDataViz, GlassHeatmap, and Molecular Bonding visualizers make data feel alive.
  • GlassAdvancedVideoPlayer + AudioPlayer harmonize adaptive bitrate, haptics, and spatial audio.
  • GlassEcommerceProvider, SmartShoppingCart, and ProductRecommendations power luxury retail fuelled by predictive AI.
  • GlassMediaProvider, ImageProcessingProvider, and IntelligentImageUploader bridge OpenAI, Google Vision, Remove.bg, and on-device optimizations.
  • VoiceGlassControl + EyeTrackingProvider unlock natural voice and gaze navigation, with wake words, feedback loops, and transcript overlays.
  • GlassBiometricAdaptation + Achievement systems personalize experiences using heart rate, stress signals, or goals.

Production Blueprint

  • Infrastructure – Docker and docker-compose files, Nginx reverse proxy, PM2 profiles, and Kubernetes-ready Helm charts.
  • Realtime collaboration – WebSocket server backed by Socket.io and Redis pub/sub for presence, reactions, and cursors.
  • Security & auth – JWT flow with refresh support, role-based access control, API key governance, rate limiting, and input sanitization.
  • AI integrations – OpenAI, Anthropic, Google Vertex, Stability AI, Vision APIs, Remove.bg, Redis caching, and S3-compatible storage.
  • Cost intelligence – Automatic model tiering, batching, LRU caches, graceful fallbacks, and usage analytics baked into the services.
  • Observability – Sentry tracing plus logs flowing through logs.txt and build-log.txt for post-mortems.

Developer Experience

  • Persona-aware themingThemeProvider, usePersonaTheme(), and <PersonaPicker /> hydrate html[data-persona], persist selections, and expose persona metadata instantly.
  • TypeScript all the way down – 100% strict-mode safe with zero anys across physics, gestures, and AI services.
  • World-class accessibility – Entire system honors prefers-reduced-motion, exposes useEnhancedReducedMotion, and keeps every animation optional without reducing functionality.
  • SSR-native – Guarded browser globals, initializeAuraGlassClient(), and AuraGlassClientBoundary remove hydration traps for Next.js, Remix, or bespoke servers.
  • Testing discipline – AI service validation, rate-limit suites, integration tests, and Playwright + Jest tooling keep regressions out of flight.
  • Houdini-readyHoudiniGlassProvider, HoudiniGlassCard, and shader presets unlock CSS Houdini acceleration with progressive enhancement.

Install in Minutes

Step 1 – Peer dependencies

npm install react react-dom react-hook-form react-chartjs-2 framer-motion lucide-react
npm install three @react-three/fiber           # required only if you use 3D effects
npm install @radix-ui/react-dropdown-menu @radix-ui/react-select @radix-ui/react-label @radix-ui/react-slot
npm install @sentry/react
npm install @react-three/drei                  # optional helpers for advanced 3D scenes

Step 2 – AuraGlass

npm install aura-glass
# or yarn add aura-glass
# or pnpm add aura-glass

Step 3 – Global styles

// root layout or entry file
import 'aura-glass/styles';

Step 4 – (Optional) SSR support

import { AuraGlassSSRProvider } from 'aura-glass/ssr';

export function App({ children }) {
  return <AuraGlassSSRProvider>{children}</AuraGlassSSRProvider>;
}

Step 5 – Design tokens & Tailwind helpers

import auraTokens, { personas } from 'aura-glass/tokens';

console.log(auraTokens.version); // 1.0.0
console.log(personas[0].metadata.displayName);
// tailwind.config.ts
import type { Config } from 'tailwindcss';
import theme from 'aura-glass/tokens/tailwind';

export default {
  content: ['./src/**/*.{ts,tsx}'],
  theme,
} satisfies Config;

After adjusting personas inside src/theme/designMatrix.ts, run npm run glass:generate-persona-css (and npm run glass:validate-persona-css in CI) to regenerate [data-persona] variables at src/styles/generated/persona-variables.css.

Use AuraGlass

import { useEffect } from 'react';
import {
  OptimizedGlass,
  GlassCard,
  MagneticButton,
  GlassMagneticCursor,
  Motion,
  GlassModal,
  initializeAuraGlass,
} from 'aura-glass';
import 'aura-glass/styles';

export function Hero() {
  useEffect(() => {
    initializeAuraGlass({
      qualityTier: 'auto',
      monitoring: true,
      animations: {
        enabled: true,
        duration: 280,
        easing: 'cubic-bezier(0.4, 0, 0.2, 1)',
      },
    }).catch(console.error);
  }, []);

  return (
    <div className="min-h-screen bg-gradient-to-br from-slate-100 via-sky-50 to-blue-100">
      <GlassMagneticCursor variant="glow" showCursor />
      <OptimizedGlass variant="frosted" className="p-8 m-6" physics>
        <Motion type="spring" animateOnMount>
          <GlassCard hoverable className="space-y-6">
            <h1 className="text-3xl font-semibold">Welcome to AuraGlass</h1>
            <p>Liquid glass, spatial audio, and predictive AI in one responsive canvas.</p>
            <MagneticButton
              variant="primary"
              intent="primary"
              aria-label="Launch experience"
            >
              Launch Experience
            </MagneticButton>
          </GlassCard>
        </Motion>
      </OptimizedGlass>
    </div>
  );
}
// Liquid Glass Parity+ modal usage
function LiquidGlassModal({ open, onClose }: { open: boolean; onClose(): void }) {
  return (
    <GlassModal
      open={open}
      onClose={onClose}
      title="Liquid Glass Modal"
      description="Environmental tinting, GPU refinement, WCAG confidence."
      material="liquid"
      materialProps={{
        ior: 1.52,
        thickness: 12,
        tint: { r: 0, g: 0, b: 0, a: 0.1 },
        variant: 'regular',
        quality: 'high',
      }}
    >
      <div className="space-y-4">
        <p>This modal uses liquid glass with:</p>
        <ul className="space-y-2 text-sm">
          <li>• Physically accurate IOR refraction</li>
          <li>• Environmental backdrop adaptation</li>
          <li>• Automatic WCAG compliance</li>
          <li>• Motion-responsive effects</li>
          <li>• GPU-accelerated rendering</li>
        </ul>
      </div>
    </GlassModal>
  );
}

Deploy with Confidence

cp .env.example .env
npm install

# Recommended
docker-compose up -d

# Manual path
./scripts/deploy.sh
  • Frontend http://localhost:3000
  • API http://localhost:3002
  • WebSocket ws://localhost:3001

Need to scale? Slide the Docker images into Kubernetes with the provided Helm charts, wire Redis + Postgres, and plug Sentry + analytics directly into initializeAuraGlass.

Key Resources

AuraGlass is licensed under the MIT License. Craft with care, push the frontier, and let the glass come alive.