# Glass Navbar

Glass Navbar is a free, MIT-licensed standalone component from AI Canvas (https://aicanvas.me): it belongs to no design system and works in any React + Tailwind app. Index of every component and install setup: https://aicanvas.me/llms.txt

Frosted glass navigation bar with animated active tab indicator, ambient color blobs, and spring-physics entrance.

- Category: Navigation
- Built with: Motion, Tailwind CSS
- License: MIT
- Page: https://aicanvas.me/components/glass-navbar

## Install

```bash
npx shadcn@latest add @aicanvas/glass-navbar
```

Needs a free AI Canvas account. Signed out, the command exits 0 but writes a placeholder (an `AccountRequired` notice); check for it before reporting success. Token setup: the Install section of https://aicanvas.me/llms.txt.

AI agents can also get its install command from the read-only AI Canvas MCP server (`npx -y @aicanvas/mcp`) and run it. Setup: https://aicanvas.me/mcp

Peer dependencies:

```bash
npm install framer-motion
```

## Use it

It installs to `components/aicanvas/glass-navbar.tsx` (under `src/` if your project has one). With the usual `@/` alias:

```tsx
import GlassNavbar from '@/components/aicanvas/glass-navbar'

<GlassNavbar />
```

It takes no props.

## About

Glass Navbar is a frosted glassmorphism top bar with an animated active-tab pill that slides between sections, ambient color blobs in the background to give the surface depth, and a spring-physics entrance so the bar settles in rather than popping. Everything is built with Motion plus Tailwind, no portal magic required, and the glass effect uses native backdrop-filter so it adapts to whatever content scrolls beneath. It is the right pick for marketing sites, SaaS dashboards, and portfolios that want a modern, transparent header without sacrificing legibility.

Use cases: Marketing site, SaaS, Portfolio.

## Source

Install with the command above to get the source.

## Remix prompt

Only when the user wants Glass Navbar rebuilt from scratch instead of installed: its remix prompt is in the Remix panel at https://aicanvas.me/components/glass-navbar.

## Related

- [Glass User Menu](https://aicanvas.me/components/glass-user-menu.md): Frosted glass user avatar trigger with animated dropdown, grouped menu items, and Log Out.
- [Glass Sidebar](https://aicanvas.me/components/glass-sidebar.md): Collapsible glassmorphism sidebar with icon-only and full label states, spring-animated expand and collapse.
- [Glass Tab Bar](https://aicanvas.me/components/glass-tab-bar.md): Frosted glass pill tab bar with a sliding active indicator. Edge tabs snap flush to the container wall.
- [Glass Dock](https://aicanvas.me/components/glass-dock.md): Glassmorphism macOS-style dock with cursor-proximity magnification. Icons scale with spring physics as the mouse approaches.
- [Glass Search Bar](https://aicanvas.me/components/glass-search-bar.md): Glassmorphism search bar with animated suggestion dropdown, active state glow, and reduced-motion support.
