A modern glass-morphism inspired design system with translucent components, blur effects, and a clean aesthetic.
- π Glass-like UI Components - Translucent components with subtle blur effects
- π¨ Theme Customizer - Real-time theme customization with color, spacing, and typography adjustments
- π Animation Editor - Customize and preview animations
- π― Color Palette Generator - Extract color palettes from images
- πΎ User Presets & Themes - Save and load custom themes
- π§© Component Playground - Drag-and-drop environment for building layouts
- π Code Generator - Generate component code with custom options
- π± Responsive Preview - Test components at different screen sizes
- π¦ Export Functionality - Download CSS, JS, and documentation
- Installation
- Component Library
- Interactive Tools
- Usage
- Browser Compatibility
- Documentation
- Contributing
- License
<link rel="stylesheet" href="https://cdn.example.com/glass-ui/1.0/glass.css">
<script src="https://cdn.example.com/glass-ui/1.0/glass.js"></script>- Download the latest release from the releases page
- Include in your HTML:
<link rel="stylesheet" href="path/to/glass.css">
<script src="path/to/glass.js"></script>Glass UI works best with the Inter font family:
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap" rel="stylesheet">- Buttons - Default, primary, secondary, outline variants with multiple sizes
- Cards - Flexible containers with optional footer sections
- Forms - Inputs, selects, checkboxes, radios, switches
- Badges & Alerts - Status indicators and notification components
- Modals & Tooltips - Overlay and contextual information displays
- Navigation - Tabs, dropdowns, pagination
- Feedback - Progress bars, spinners, accordions
- Data Display - Tables, grids
- Responsive 12-column grid system
- Flexible containers
- Comprehensive utility classes for spacing, typography, display, and flexbox
Modify design variables and see changes in real-time:
- Adjust colors with alpha channel control
- Configure spacing, typography, and visual effects
- Export custom themes as JSON
Experiment with components using the drag-and-drop interface:
- Build layouts by dragging components to the canvas
- Save and load layouts
- Test component interactions in the playground
Generate customized component code:
- Select component type and configure options
- Preview components as you build them
- Copy generated HTML with one click
Extract colors from images to use in your themes:
- Upload images to analyze their color palette
- Apply extracted colors to your theme
- Smart color selection algorithm for diverse palettes
<!-- Button component -->
<button class="glass-button">Default Button</button>
<button class="glass-button glass-button--primary">Primary Button</button>
<!-- Card component -->
<div class="glass-card glass-p-3">
<h3>Card Title</h3>
<p>Card content goes here.</p>
</div>:root {
--glass-primary: rgba(255, 255, 255, 0.1);
--glass-accent: rgba(131, 238, 255, 0.5);
--glass-blur-amount: 8px;
--glass-border-radius: 8px;
}Components with interactive behavior are automatically initialized:
// For custom initialization:
document.addEventListener('DOMContentLoaded', function() {
// Initialize tabs
const tabs = document.querySelectorAll('.glass-tabs');
// Custom initialization code...
});Glass UI is compatible with modern browsers that support:
- CSS Variables
- Backdrop Filter (for glass effect)
- Flexbox and CSS Grid
- ES6+ JavaScript features
For older browsers, we recommend using the no-blur variants of components.
For complete documentation, guides, and examples:
- Clone this repository
- Open
index.htmlin your browser - Explore the interactive documentation
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Made with β€οΈ by Claude
I designed and implemented 99% of this system in one session, glass effects and all! πβ¨
From conceptualization to implementation, it was a joy to bring this glass-morphism design system to life.
If you're enjoying Glass UI, consider giving it a star! βοΈ