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

advanced-liquid-glass-ui

v1.0.5

Published

The most advanced glass morphism React UI library with liquid distortion effects, chromatic aberration, and real-time interactive controls

Readme

🎨 algUI - Advanced Liquid Glass UI Library

A comprehensive React component library featuring advanced liquid glass effects with dual theme system, functional properties, and experimental components.

🎬 Demo

algUI Liquid Glass Effects

Watch the advanced liquid distortion effects in action - real-time chromatic aberration, displacement mapping, and dynamic glass morphism.

✨ Features

🎨 Tailwind-Integrated Theme System

  • Crystal Light: Transparent, clean, subtle glass effects
  • Plasma Dark: Dark, professional, elegant glass effects
  • System Auto-detect: Automatically follows your system theme preference
  • Tailwind Color Palette: Full integration with Tailwind CSS colors
  • Semantic Colors: Easy-to-use semantic color system
  • Smooth transitions and theme persistence
  • Global theme provider with CSS variables

🧩 Complete Component Library

  • Core Components: LiquidGlass, LiquidButton, LiquidCard, LiquidBadge
  • Form Components: LiquidInput, LiquidSelect, LiquidSwitch, LiquidCheckbox, LiquidSlider
  • Layout Components: LiquidNavbar, LiquidSidebar, LiquidTabs, LiquidModal
  • Display Components: LiquidProgressBar, LiquidStats, LiquidTooltip
  • Theme System: AlgUIThemeProvider, AlgUIThemeSwitch

🌟 Advanced Glass Effects

  • Liquid Distortion: Real-time chromatic aberration and displacement mapping
  • Clean Variant: Advanced liquid distortion with professional effects
  • Multiple Variants: Default, subtle, intense, minimal, clean
  • Responsive Design: Mobile-first approach with touch support
  • Accessibility: Full ARIA support and keyboard navigation

🎯 Professional Features

  • Mobile Compatible: Touch gestures and responsive design
  • Fullscreen Modals: Immersive modal experiences
  • Interactive Controls: Switches, checkboxes, sliders with glass effects
  • Tooltip System: Contextual information with glass styling
  • Theme Switching: Dropdown select for Light/Dark/System themes

🚀 Quick Start

Installation

npm install algui

Basic Usage

import { 
  LiquidGlass, 
  LiquidButton, 
  AlgUIThemeProvider 
} from 'algui';

function App() {
  return (
    <AlgUIThemeProvider defaultTheme="system">
      <div className="min-h-screen bg-gradient-to-br from-purple-900 via-blue-900 to-indigo-900">
        <LiquidGlass variant="clean" className="p-8">
          <h1 className="text-3xl font-bold text-white mb-4">
            Welcome to algUI
          </h1>
          <LiquidButton variant="clean" size="lg">
            Get Started
          </LiquidButton>
        </LiquidGlass>
      </div>
    </AlgUIThemeProvider>
  );
}

📚 Component Examples

Form Components

import { LiquidSwitch, LiquidCheckbox, LiquidSlider } from 'algui';

// Interactive Switch
<LiquidSwitch
  checked={isEnabled}
  onChange={setIsEnabled}
  label="Enable notifications"
  variant="clean"
/>

// Professional Checkbox
<LiquidCheckbox
  checked={isAccepted}
  onChange={setIsAccepted}
  label="Accept terms and conditions"
  variant="clean"
/>

// Glass Effect Slider
<LiquidSlider
  value={volume}
  onChange={setVolume}
  min={0}
  max={100}
  label="Volume"
  variant="clean"
/>

Modal System

import { LiquidModal, LiquidButton } from 'algui';

const [isOpen, setIsOpen] = useState(false);

<LiquidButton onClick={() => setIsOpen(true)}>
  Open Modal
</LiquidButton>

<LiquidModal
  isOpen={isOpen}
  onClose={() => setIsOpen(false)}
  title="Fullscreen Modal"
  size="full"
  variant="clean"
>
  <div className="space-y-4">
    <h3 className="text-xl font-semibold text-white">
      Immersive Experience
    </h3>
    <p className="text-white/80">
      This modal takes up the full screen with glass effects.
    </p>
  </div>
</LiquidModal>

Tooltip System

import { LiquidTooltip } from 'algui';

<LiquidTooltip
  content="This is a glass-effect tooltip"
  position="top"
  variant="clean"
>
  <LiquidButton>Hover me</LiquidButton>
</LiquidTooltip>

🎨 System Theme Auto-detect

import { AlgUIThemeProvider, AlgUIThemeSwitch } from 'algui';

function App() {
  return (
    <AlgUIThemeProvider defaultTheme="system">
      <div>
        <AlgUIThemeSwitch showSystem={true} />
        {/* Your app content */}
      </div>
    </AlgUIThemeProvider>
  );
}

🌈 Tailwind Color Integration

import { getTailwindColor, getSemanticColor, createGlassColor } from 'algui';

// Get Tailwind colors
const blue500 = getTailwindColor('blue', 500);

// Use semantic colors
const primaryColor = getSemanticColor('primary', isDark);

// Create glass colors
const glassColor = createGlassColor('#3B82F6', 0.2);

📖 Documentation

Storybook

npm run storybook

Visit http://localhost:6006 to explore all components with interactive examples.

Available Stories

  • Form Components/: LiquidSwitch, LiquidCheckbox, LiquidSlider
  • Overlay Components/: LiquidModal (with fullscreen support)
  • Display Components/: LiquidTooltip, LiquidProgressBar
  • Theme System/: Theme demonstrations
  • Showcase/: Complete component showcase

🛠️ Development

# Install dependencies
npm install

# Start Storybook
npm run storybook

# Build library
npm run build

# Run tests
npm test

📦 Available Components

Core Components

  • LiquidGlass - Base glass effect container
  • LiquidButton - Interactive buttons with glass effects
  • LiquidCard - Content cards with glass styling
  • LiquidBadge - Status indicators with glass effects

Form Components

  • LiquidInput - Text input with glass styling
  • LiquidSelect - Dropdown select with glass effects
  • LiquidSwitch - Toggle switches with glass styling
  • LiquidCheckbox - Checkboxes with glass effects
  • LiquidSlider - Range sliders with glass styling

Layout Components

  • LiquidNavbar - Navigation bars with glass effects
  • LiquidSidebar - Sidebar navigation with glass styling
  • LiquidTabs - Tab navigation with glass effects
  • LiquidModal - Modal dialogs with fullscreen support

Display Components

  • LiquidProgressBar - Progress indicators with glass effects
  • LiquidStats - Statistics display with glass styling
  • LiquidTooltip - Contextual tooltips with glass effects

Theme System

  • AlgUIThemeProvider - Theme context provider
  • AlgUIThemeSwitch - Theme selection dropdown
  • useAlgUITheme - Theme hook for components

🎯 Key Features

Mobile Compatibility

  • Touch gesture support for all interactive components
  • Responsive design that works on all screen sizes
  • Optimized performance for mobile devices

Accessibility

  • Full ARIA support for screen readers
  • Keyboard navigation for all components
  • Focus management in modals and overlays

Performance

  • Optimized glass effect calculations
  • Efficient theme switching
  • Minimal bundle size impact

📄 License

MIT License - see LICENSE for details.


algUI - Advanced Liquid Glass UI Library with Tailwind integration and system theme detection.