Glass Search BarGlassmorphism search bar with animated suggestion dropdown, active state glow, and reduced-motion support.

Inputs & ControlsGlassMarketing siteSaaSDashboard

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-search-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 Search Bar

Glass Search Bar is a glassmorphism search field with an animated suggestion dropdown that opens on focus, an active-state glow when typing, and a reduced-motion fallback for users who prefer less animation. Motion handles the dropdown entrance and the focus-state highlight, while the glass surface uses backdrop-filter for the blur. It works well as a global search in SaaS shells, a sticky search header on marketing sites, and a command-palette trigger inside dashboards.

Built with

MotionTailwind CSS

More like this