aicanvas

Glass Search Bar

Component

About

A glassmorphism search input with a blurred floral background, animated focus glow, and a filterable suggestions dropdown.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Glass Search Bar to your project and fits it to your theme.

Code

How Glass Search Bar is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import GlassSearchBar from "@/components/ui/glass-search-bar";

export default function GlassSearchBarDemo() {
  return (
    <div className="relative w-full aspect-[3/2] overflow-hidden">
      <GlassSearchBar />
    </div>
  );
}

Dependencies

More by aicanvas

View all
  • Expanding Tabs

    Expanding Tabs

    124
  • Stack Tower

    Stack Tower

    93
  • Runway Loader

    Runway Loader

    92
  • Blind Pull Toggle

    Blind Pull Toggle

    72
  • Magnetic Logo Cluster

    Magnetic Logo Cluster

    13
  • Search Field

    Search Field