Skip to content

adamsardo/glass-ui-design-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 

Repository files navigation

Glass UI Design System

Version 1.0.0 License MIT Framework Agnostic

A modern glass-morphism inspired design system with translucent components, blur effects, and a clean aesthetic.

HTML5 CSS3 JavaScript

🌟 Features

  • πŸ’Ž 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

πŸ“‹ Table of Contents

πŸš€ Installation

CDN (Coming Soon)

<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>

Direct Download

  1. Download the latest release from the releases page
  2. Include in your HTML:
<link rel="stylesheet" href="path/to/glass.css">
<script src="path/to/glass.js"></script>

Recommended Font

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">

🧩 Component Library

Core UI Components

  • 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

Layout System

  • Responsive 12-column grid system
  • Flexible containers
  • Comprehensive utility classes for spacing, typography, display, and flexbox

πŸ›  Interactive Tools

Theme Customizer

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

Component Playground

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

Code Generator

Generate customized component code:

  • Select component type and configure options
  • Preview components as you build them
  • Copy generated HTML with one click

Color Palette Generator

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

πŸ“– Usage

Basic Component Usage

<!-- 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>

Customizing with CSS Variables

: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;
}

JavaScript Component Initialization

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...
});

🌐 Browser Compatibility

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.

πŸ“‘ Documentation

For complete documentation, guides, and examples:

  1. Clone this repository
  2. Open index.html in your browser
  3. Explore the interactive documentation

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

πŸ“„ License

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! ⭐️

Claude β€’ Anthropic β€’ GitHub

About

A modern glass-morphism inspired design system with translucent components, blur effects, and a clean aesthetic.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors