Components
An animated search component with a liquid SVG filter effect. Expands from a pill button into a search input with a floating search icon, and displays results as stacked animated pills. Built with Framer Motion. Supports click-outside and Escape to close.
Loading preview...
import { GooeySearch } from "@/components/ui/liquid-search";
const sampleItems = [
"React",
"Vue",
"Svelte",
"Next.js",
"Napier88",
"Gatsby",
"NewtonScript",
"Angular",
"Scala",
"Groovy",
"Haskell",
"Lua",
"R",
];
export default function DemoOne() {
return (
<div
style={{
width: "100%",
height: "400px",
display: "flex",
alignItems: "center",
justifyContent: "center",
backgroundColor: "#e5e7eb",
borderRadius: "12px",
}}
>
<GooeySearch
items={sampleItems}
placeholder="Type to search..."
onSelect={(item) => console.log("Selected:", item)}
/>
</div>
);
}