Glass Tab BarFrosted glass pill tab bar with a sliding active indicator.

NavigationGlassDashboardSettingsMobile app

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-tab-bar
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 Tab Bar

Glass Tab Bar is a frosted pill row with a sliding active indicator that crosses behind the labels as you switch sections. The edge tabs are intentionally snapped flush to the container wall so the rhythm feels intentional rather than centered-with-padding. Motion drives the slider, and the glass surface adapts to whatever sits behind it through backdrop-filter. It works well as a settings switcher, a dashboard segment control, or a mobile-style tab row inside a larger page.

Built with

MotionTailwind CSS

More like this