Glass SidebarCollapsible glassmorphism sidebar with icon-only and full label states, spring-animated expand and collapse.

NavigationGlassDashboardAdmin panelSaaS

Add to your project

One command adds this component to your project.

1

Run the following command. New project? Run npx shadcn@latest init first to set up Tailwind and path aliases.

npx shadcn@latest add @aicanvas/glass-sidebar
2

For dark mode, add the dark class to your <html> element:

Optional
<html class="dark">

Install with AI Canvas MCP

With AI Canvas MCP, your AI knows every component we ship. Ask for “a navigation component from AI Canvas” inside Claude Code, Codex, or Cursor and it can suggest you a few options, then install the one you like. Less typing, lower token cost, modern way to build.

Get MCP

About Glass Sidebar

Glass Sidebar is a collapsible glassmorphism rail that animates between an icon-only and a fully-labeled state with a single spring-driven transition. Each row stays touch-friendly in both modes, and the labels fade in with a slight stagger so the expansion feels intentional. The glass surface uses backdrop-filter, so it always picks up the background color of the app beneath. It is the default left rail for SaaS dashboards, admin panels, and any web app where you want a clean primary navigation that gets out of the way on demand.

Built with

MotionTailwind CSS

More like this