Designing a Frosted-Glass Admin Panel
74 Reads
Designing a Frosted-Glass Admin Panel
The default admin panel was functional but flat. Here is how I gave it a frosted-glass feel without a redesign.
The three pieces
- Global background — a fixed, blurred image layer at
z-[-1]. - Sticky sidebar —
h-screen sticky top-0withbackdrop-blur-md. - Main panel —
bg-black/20 backdrop-blur-mdso the bg shows through.
The gotcha
Flex containers stretch their children by default. A sticky child that also has min-h-screen will get stretched to the full page height — and then it will not stick, because it has nowhere to scroll within its parent.
The fix: h-screen + self-start + overflow-y-auto on the sidebar.
The payoff
A single layout change took the admin from "CRUD dashboard" to "actual product."