Package Exports
- advanced-liquid-glass-ui
- advanced-liquid-glass-ui/dist/index.esm.js
- advanced-liquid-glass-ui/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (advanced-liquid-glass-ui) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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

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 alguiBasic 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 storybookVisit 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 containerLiquidButton- Interactive buttons with glass effectsLiquidCard- Content cards with glass stylingLiquidBadge- Status indicators with glass effects
Form Components
LiquidInput- Text input with glass stylingLiquidSelect- Dropdown select with glass effectsLiquidSwitch- Toggle switches with glass stylingLiquidCheckbox- Checkboxes with glass effectsLiquidSlider- Range sliders with glass styling
Layout Components
LiquidNavbar- Navigation bars with glass effectsLiquidSidebar- Sidebar navigation with glass stylingLiquidTabs- Tab navigation with glass effectsLiquidModal- Modal dialogs with fullscreen support
Display Components
LiquidProgressBar- Progress indicators with glass effectsLiquidStats- Statistics display with glass stylingLiquidTooltip- Contextual tooltips with glass effects
Theme System
AlgUIThemeProvider- Theme context providerAlgUIThemeSwitch- Theme selection dropdownuseAlgUITheme- 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.