skills/design-and-media/ui-ux/design-skills/glassmorphism-design/SKILL.md
Create frosted glass UI effects with blur, transparency, and subtle borders
npx skillsauth add lunartech-x/superpowers Glassmorphism DesignInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Implement the popular glassmorphism aesthetic with frosted glass effects, backdrop blur, transparent backgrounds, and subtle borders for premium, modern interfaces.
Glassmorphism creates a sense of depth through:
<div class="relative rounded-2xl border border-white/10 bg-white/5 backdrop-blur-md">
<div class="p-6">
<h3 class="text-white font-medium">Glass Card</h3>
<p class="text-white/70">Content with frosted effect</p>
</div>
</div>
.glass-card {
/* Frosted glass blur */
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
/* Semi-transparent background */
background: rgba(255, 255, 255, 0.05);
/* Subtle border for definition */
border: 1px solid rgba(255, 255, 255, 0.1);
/* Smooth corners */
border-radius: 1rem;
}
| Effect | Class | Value |
|--------|-------|-------|
| Light blur | backdrop-blur-sm | 4px |
| Medium blur | backdrop-blur-md | 12px |
| Heavy blur | backdrop-blur-xl | 24px |
| Transparent bg (dark) | bg-white/5 | 5% white |
| Transparent bg (light) | bg-black/5 | 5% black |
| Subtle border | border-white/10 | 10% white |
<div class="rounded-2xl border border-white/10 bg-neutral-900/50 backdrop-blur-md">
<!-- Content -->
</div>
<div class="group relative">
<!-- Outer glow -->
<div class="absolute -inset-4 bg-gradient-to-r from-brand-500/20 via-purple-500/20 to-brand-500/20
rounded-[2rem] blur-2xl opacity-50"></div>
<!-- Glass card -->
<div class="relative rounded-[1.5rem] overflow-hidden border border-white/10
bg-gradient-to-br from-zinc-900 via-zinc-900 to-zinc-950 p-6">
<!-- Content -->
</div>
</div>
<div class="rounded-2xl border border-white/10 bg-neutral-900/50 backdrop-blur-md
hover:bg-neutral-800/50 hover:border-white/20
hover:shadow-2xl hover:shadow-violet-500/10
transition-all duration-500">
<!-- Content -->
</div>
<div class="rounded-2xl border border-zinc-200/50 bg-white/70 backdrop-blur-md shadow-sm">
<!-- Content -->
</div>
<div class="rounded-2xl border border-zinc-100 bg-white/80 backdrop-blur-lg
shadow-[0_8px_32px_rgba(0,0,0,0.08)]
hover:bg-white/90 hover:shadow-lg
transition-all duration-300">
<!-- Content -->
</div>
<nav class="fixed top-4 left-1/2 -translate-x-1/2 z-50
rounded-full border border-white/10 bg-black/20 backdrop-blur-xl
px-6 py-3">
<div class="flex items-center gap-6">
<a href="#" class="text-white/80 hover:text-white transition-colors">Home</a>
<a href="#" class="text-white/80 hover:text-white transition-colors">About</a>
<a href="#" class="text-white/80 hover:text-white transition-colors">Contact</a>
</div>
</nav>
<aside class="fixed left-0 top-0 h-full w-64
border-r border-white/10 bg-neutral-950/80 backdrop-blur-xl">
<!-- Sidebar content -->
</aside>
<span class="inline-flex items-center gap-1.5 rounded-full
border border-brand-500/30 bg-brand-500/15
px-2.5 py-0.5 text-[11px] font-medium text-brand-300">
<span class="w-1.5 h-1.5 rounded-full bg-brand-400 animate-pulse"></span>
ACTIVE
</span>
<div class="flex gap-2">
<span class="px-2 py-1 rounded-full bg-emerald-50/10 border border-emerald-500/20
text-[8px] font-bold text-emerald-400">HIPAA</span>
<span class="px-2 py-1 rounded-full bg-blue-50/10 border border-blue-500/20
text-[8px] font-bold text-blue-400">GDPR</span>
</div>
<!-- Backdrop -->
<div class="fixed inset-0 bg-black/50 backdrop-blur-sm z-40"></div>
<!-- Modal -->
<div class="fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 z-50
w-full max-w-md rounded-2xl border border-white/10
bg-neutral-900/90 backdrop-blur-xl p-6
shadow-2xl shadow-black/50">
<h2 class="text-white text-xl font-medium mb-4">Modal Title</h2>
<p class="text-white/70">Modal content here.</p>
</div>
<div class="relative overflow-hidden">
<!-- Background blobs -->
<div class="absolute inset-0 pointer-events-none">
<div class="absolute top-1/4 left-1/4 w-96 h-96
bg-brand-500/10 rounded-full blur-[120px] animate-pulse"></div>
<div class="absolute bottom-1/4 right-1/4 w-96 h-96
bg-purple-500/10 rounded-full blur-[120px] animate-pulse"
style="animation-delay: 2s;"></div>
</div>
<!-- Glass content -->
<div class="relative z-10">
<!-- Your glass cards here -->
</div>
</div>
<div class="absolute inset-0 opacity-[0.03]">
<div class="absolute inset-0"
style="background-image: radial-gradient(circle at 1px 1px, white 1px, transparent 0);
background-size: 40px 40px;">
</div>
</div>
<div class="group rounded-2xl border border-white/10 bg-neutral-900/50 backdrop-blur-md
hover:shadow-2xl hover:shadow-violet-500/10
transition-all duration-500">
<!-- Content -->
</div>
<div class="rounded-2xl border border-white/10 bg-white/5 backdrop-blur-md
hover:border-white/20 hover:bg-white/10
transition-all duration-300">
<!-- Content -->
</div>
prefers-reduced-motion for animations@media (prefers-reduced-motion: reduce) {
.glass-card {
animation: none;
transition: none;
}
}
/* Fallback for browsers without backdrop-blur support */
@supports not (backdrop-filter: blur(12px)) {
.glass-card {
background: rgba(0, 0, 0, 0.8); /* Solid fallback */
}
}
tools
Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.
testing
Access AlphaFold 200M+ AI-predicted protein structures. Retrieve structures by UniProt ID, download PDB/mmCIF files, analyze confidence metrics (pLDDT, PAE), for drug discovery and structural biology.
development
Access real-time and historical stock market data, forex rates, cryptocurrency prices, commodities, economic indicators, and 50+ technical indicators via the Alpha Vantage API. Use when fetching stock prices (OHLCV), company fundamentals (income statement, balance sheet, cash flow), earnings, options data, market news/sentiment, insider transactions, GDP, CPI, treasury yields, gold/silver/oil prices, Bitcoin/crypto prices, forex exchange rates, or calculating technical indicators (SMA, EMA, MACD, RSI, Bollinger Bands). Requires a free API key from alphavantage.co.
development
This skill should be used for time series machine learning tasks including classification, regression, clustering, forecasting, anomaly detection, segmentation, and similarity search. Use when working with temporal data, sequential patterns, or time-indexed observations requiring specialized algorithms beyond standard ML approaches. Particularly suited for univariate and multivariate time series analysis with scikit-learn compatible APIs.