← Back to Blog

Designing a Frosted-Glass Admin Panel

74 Reads
Designing a Frosted-Glass Admin Panel

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

  1. Global background — a fixed, blurred image layer at z-[-1].
  2. Sticky sidebarh-screen sticky top-0 with backdrop-blur-md.
  3. Main panelbg-black/20 backdrop-blur-md so 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."