
Glassmorphism
- 436 installs
- 6 repo stars
- Updated February 8, 2026
- ainergiz/design-inspirations
glassmorphism is an agent skill that drops frosted-glass overlays and floating controls into React and Tailwind UI with ready-made blur, opacity, and border class recipes.
About
glassmorphism in ainergiz/design-inspirations teaches developers to build frosted glass UI elements with blur, transparency, and subtle borders for overlays, floating controls, tooltips, and elevated panels in React and Tailwind CSS. The skill documents a standard container using bg-black/20, backdrop-blur-md, and border border-white/10, plus variations such as dark overlays on images or video and rounded floating controls. Developers reach for glassmorphism when dashboards, media players, or landing pages need translucent layers without manually tuning opacity stacks that fail contrast or readability checks. Invocation supplies copy-ready TSX class combinations rather than abstract design theory, reducing guesswork on blur radius and border alpha values during implementation. The pattern fits frontend engineers shipping Tailwind-based SaaS or content sites who want consistent glass surfaces across modals, toolbars, and on-media controls. Examples emphasize rounded-full pill controls and dark-overlay variants best suited to photography or video backgrounds where solid panels would obscure underlying content.
- Standard Tailwind recipe: bg-black/20, backdrop-blur-md, border-white/10
- Four strength presets: subtle, dark overlay, light overlay, and strong glass
- Token table mapping background opacity, blur scale, and border weight
- Guidance for dark-on-media vs light-on-dark background contexts
- Targets overlays, floating controls, and tooltips that need elevation without solid fills
Glassmorphism by the numbers
- 436 all-time installs (skills.sh)
- Ranked #649 of 1,880 Design & UI/UX skills by installs in the Skillselion catalog
- Security screen: LOW risk (skills.sh audit)
- Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/ainergiz/design-inspirations --skill glassmorphismAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 436 |
|---|---|
| repo stars | ★ 6 |
| Security audit | 3 / 3 scanners passed |
| Last updated | February 8, 2026 |
| Repository | ainergiz/design-inspirations ↗ |
How do you implement glassmorphism in React Tailwind UI?
Drop frosted-glass overlays and floating controls into a React/Tailwind UI without guessing blur, opacity, and border tokens.
Who is it for?
React and Tailwind developers adding frosted-glass overlays, floating toolbars, or on-media controls without hand-tuning blur and opacity tokens.
Skip if: Backend services with no UI, native mobile apps outside React/Tailwind, or designs requiring opaque solid panels without translucency.
When should I use this skill?
User builds glass overlays, floating controls, tooltips, or translucent panels in React Tailwind and needs backdrop-blur class recipes.
What you get
TSX components with frosted-glass Tailwind classes, blur and opacity tokens, and border treatments for overlays and floating controls.
- Glassmorphic TSX components
- Tailwind blur and opacity class sets
- Overlay and floating control variants
By the numbers
- Documents standard classes bg-black/20, backdrop-blur-md, border-white/10
- Includes dark-overlay and rounded-full floating control variations
Files
Glassmorphism Pattern
Create frosted glass effects for overlays and floating UI elements.
Core Classes
// Standard glassmorphic container
<div className="bg-black/20 backdrop-blur-md border border-white/10">
...
</div>Variations
Dark Overlay (on images/media)
Best for controls overlaid on images or video.
<div className="bg-black/20 backdrop-blur-md border border-white/10 rounded-full px-3 py-2">
{/* Content */}
</div>Light Overlay (on dark backgrounds)
<div className="bg-white/10 backdrop-blur-md border border-white/20 rounded-xl px-4 py-3">
{/* Content */}
</div>Subtle Glass (minimal effect)
<div className="bg-black/10 backdrop-blur-sm border border-white/5 rounded-lg px-3 py-2">
{/* Content */}
</div>Strong Glass (prominent effect)
<div className="bg-black/40 backdrop-blur-lg border border-white/20 rounded-2xl px-5 py-4">
{/* Content */}
</div>Token Reference
| Property | Light Glass | Standard | Strong |
|---|---|---|---|
| Background | bg-black/10 | bg-black/20 | bg-black/40 |
| Blur | backdrop-blur-sm | backdrop-blur-md | backdrop-blur-lg |
| Border | border-white/5 | border-white/10 | border-white/20 |
Common Use Cases
Carousel Indicators
<div className="absolute bottom-3 left-1/2 -translate-x-1/2">
<div className="flex items-center gap-2 px-3 py-2 rounded-full bg-black/20 backdrop-blur-md border border-white/10">
{/* Indicator dots */}
</div>
</div>Floating Action Button
<button className="fixed bottom-6 right-6 p-4 rounded-full bg-black/20 backdrop-blur-md border border-white/10 hover:bg-black/30 transition-colors">
<Icon className="w-6 h-6 text-white" />
</button>Tooltip/Popover
<div className="absolute top-full mt-2 px-3 py-2 rounded-lg bg-black/30 backdrop-blur-md border border-white/10">
<span className="text-white text-sm">Tooltip content</span>
</div>Navigation Bar (over hero)
<nav className="fixed top-0 left-0 right-0 z-50 bg-black/10 backdrop-blur-md border-b border-white/10">
{/* Nav content */}
</nav>Text Contrast
When using glassmorphism, ensure text has sufficient contrast:
| Background Opacity | Text Color |
|---|---|
bg-black/10 - bg-black/20 | text-white or text-white/90 |
bg-black/30 - bg-black/40 | text-white |
bg-white/10 - bg-white/20 | text-white or text-zinc-100 |
Performance Note
backdrop-blur can impact performance on lower-end devices. Consider:
- Using smaller blur values (
backdrop-blur-sm) for frequently updated elements - Avoiding large glassmorphic areas that cover significant viewport
- Testing on mobile devices
Checklist
- [ ] Background has transparency (e.g.,
bg-black/20) - [ ]
backdrop-blur-*applied for frosted effect - [ ] Subtle border with transparency (
border-white/10) - [ ] Text has sufficient contrast
- [ ] Border radius matches design language
- [ ] Tested on lower-end devices for performance
Related skills
How it compares
Pick glassmorphism for ready-made Tailwind frosted-glass TSX; pick broader frontend-design skills when entire typography and color systems need redesign beyond overlay effects.
FAQ
What Tailwind classes does glassmorphism use?
glassmorphism documents a standard frosted container with bg-black/20, backdrop-blur-md, and border border-white/10 in React TSX. Variations add rounded-full pills and darker overlays suited to controls on images or video backgrounds.
When should developers use glassmorphism?
glassmorphism fits React Tailwind UI needing translucent overlays, floating controls, tooltips, or elevated panels with blur and subtle borders. Use it when solid opaque panels would clutter media-heavy layouts or break visual hierarchy.
Does glassmorphism include on-media overlay patterns?
glassmorphism includes dark overlay variants recommended for controls placed on images or video, using the same blur and transparency stack as standard glass containers. Examples show rounded pill controls with px-3 py-2 padding for touch-friendly floating toolbars.
Is Glassmorphism safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.