Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@felixgeelhaar/glaze-components

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@felixgeelhaar/glaze-components

Beautiful glassmorphism Web Components built with Lit

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

@felixgeelhaar/glaze-components

Beautiful glassmorphism Web Components built with Lit

Installation

npm install @felixgeelhaar/glaze-components
# or
pnpm add @felixgeelhaar/glaze-components
# or
yarn add @felixgeelhaar/glaze-components

Usage

As Web Components (Works with any framework)

<!-- Import the components -->
<script type="module">
  import '@felixgeelhaar/glaze-components';
</script>

<!-- Import the styles -->
<link rel="stylesheet" href="node_modules/@felixgeelhaar/glaze-components/dist/styles/tokens.css">
<link rel="stylesheet" href="node_modules/@felixgeelhaar/glaze-components/dist/styles/components.css">

<!-- Use the components -->
<glz-button variant="glass" size="md">
  Click me
</glz-button>

<glz-card variant="glass">
  <h2>Beautiful Card</h2>
  <p>With glassmorphism effect</p>
</glz-card>

With React

See @felixgeelhaar/glaze-react

With Vue

See @felixgeelhaar/glaze-vue

Available Components

  • glz-button - Versatile button with multiple variants
  • glz-card - Container with glassmorphism effects
  • glz-dialog - Modal dialog component
  • glz-input - Form input with validation
  • glz-select - Dropdown select component
  • glz-navbar - Navigation bar
  • glz-toast - Toast notifications
  • glz-accordion - Collapsible content panels
  • glz-spinner - Loading spinner
  • glz-switch - Toggle switch

Component Properties

Button (glz-button)

<glz-button 
  variant="glass|solid|ghost"
  size="sm|md|lg"
  tone="primary|accent|neutral"
  disabled
  loading
>
  Button Text
</glz-button>

Card (glz-card)

<glz-card
  variant="glass|solid|ghost"
  size="sm|md|lg"
  tone="primary|accent|neutral"
>
  <slot>Content goes here</slot>
</glz-card>

Dialog (glz-dialog)

<glz-dialog
  open
  variant="glass|solid"
  label="Dialog Title"
>
  <slot>Dialog content</slot>
</glz-dialog>

Styling

The components use CSS custom properties for theming:

:root {
  --glz-primary: #6366f1;
  --glz-accent: #f472b6;
  --glz-neutral: #64748b;
  --glz-radius-sm: 0.5rem;
  --glz-radius-md: 0.75rem;
  --glz-radius-lg: 1rem;
  --glz-blur: 12px;
  --glz-opacity: 0.8;
}

Features

  • 🎨 Beautiful glassmorphism effects - Modern frosted glass aesthetics
  • Accessible - WCAG 2.1 AA compliant
  • 🎯 Framework agnostic - Works with any framework or vanilla JS
  • 📱 Responsive - Mobile-first design
  • 🌙 Dark mode support - Looks great in light and dark themes
  • Performant - Built with Lit for optimal performance
  • 🎭 Customizable - Extensive theming options

Browser Support

  • Chrome/Edge 61+
  • Firefox 63+
  • Safari 10.1+

License

MIT

Keywords

web-components

FAQs

Package last updated on 12 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts