The most advanced glass morphism React UI library with liquid distortion effects, chromatic aberration, and real-time interactive controls
npm install advanced-liquid-glass-uiA comprehensive React component library featuring advanced liquid glass effects with dual theme system, functional properties, and experimental components.
Watch the advanced liquid distortion effects in action - real-time chromatic aberration, displacement mapping, and dynamic glass morphism.
``bash`
npm install algui
`tsx
import {
LiquidGlass,
LiquidButton,
AlgUIThemeProvider
} from 'algui';
function App() {
return (
Welcome to algUI
Get Started
);
}
`
`tsx
import { LiquidSwitch, LiquidCheckbox, LiquidSlider } from 'algui';
// Interactive Switch
onChange={setIsEnabled}
label="Enable notifications"
variant="clean"
/>
// Professional Checkbox
onChange={setIsAccepted}
label="Accept terms and conditions"
variant="clean"
/>
// Glass Effect Slider
onChange={setVolume}
min={0}
max={100}
label="Volume"
variant="clean"
/>
`
`tsx
import { LiquidModal, LiquidButton } from 'algui';
const [isOpen, setIsOpen] = useState(false);
Open Modal
onClose={() => setIsOpen(false)}
title="Fullscreen Modal"
size="full"
variant="clean"
>
This modal takes up the full screen with glass effects.
$3
`tsx
import { LiquidTooltip } from 'algui'; content="This is a glass-effect tooltip"
position="top"
variant="clean"
>
Hover me
`🎨 System Theme Auto-detect
`tsx
import { AlgUIThemeProvider, AlgUIThemeSwitch } from 'algui';function App() {
return (
{/ Your app content /}
);
}
`🌈 Tailwind Color Integration
`tsx
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
$3
`bash
npm run storybook
`Visit
http://localhost:6006 to explore all components with interactive examples.$3
- Form Components/: LiquidSwitch, LiquidCheckbox, LiquidSlider
- Overlay Components/: LiquidModal (with fullscreen support)
- Display Components/: LiquidTooltip, LiquidProgressBar
- Theme System/: Theme demonstrations
- Showcase/: Complete component showcase
🛠️ Development
`bash
Install dependencies
npm installStart Storybook
npm run storybookBuild library
npm run buildRun tests
npm test
`📦 Available Components
$3
- LiquidGlass - Base glass effect container
- LiquidButton - Interactive buttons with glass effects
- LiquidCard - Content cards with glass styling
- LiquidBadge - Status indicators with glass effects$3
- 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$3
- LiquidNavbar - Navigation bars with glass effects
- LiquidSidebar - Sidebar navigation with glass styling
- LiquidTabs - Tab navigation with glass effects
- LiquidModal - Modal dialogs with fullscreen support$3
- LiquidProgressBar - Progress indicators with glass effects
- LiquidStats - Statistics display with glass styling
- LiquidTooltip - Contextual tooltips with glass effects$3
- AlgUIThemeProvider - Theme context provider
- AlgUIThemeSwitch - Theme selection dropdown
- useAlgUITheme` - Theme hook for componentsMIT License - see LICENSE for details.
---
algUI - Advanced Liquid Glass UI Library with Tailwind integration and system theme detection.