Gooey Input

A search-style input that expands with a gooey SVG filter and shared layout animation

Installation

Run the following command

npx shadcn@latest add @aceternity/gooey-input

Props

PropTypeDefaultDescription
placeholderstring"Type to search..."Placeholder shown in the input.
classNamestring—Classes on the outer wrapper.
classNamesGooeyInputClassNames—Optional classes for inner parts (root, filterWrap, buttonRow, trigger, input, bubble, bubbleSurface).
collapsedWidthnumber115Width of the control when collapsed (px).
expandedWidthnumber200Width when expanded (px).
expandedOffsetnumber50Left margin when expanded; lines up the detached icon bubble (px).
gooeyBlurnumber5Blur strength for the gooey SVG filter.
valuestring—Controlled value. Omit for uncontrolled usage.
defaultValuestring""Initial value when uncontrolled.
onValueChange(value: string) => void—Called when the text changes.
onOpenChange(open: boolean) => void—Called when the field expands or collapses.
disabledbooleanfalseDisables interaction.

This component is inspired by Gooey Effect by Chris Coyier and Gooey Search by oguzhantufenk.

Build websites faster and 10x better than your competitors with

Aceternity UI Pro

Next.js 15, Tailwind CSS v4 and Motion for react powered templates

200+ templates and blocks combined

Ready to copy paste component blocks, save days of development time

Aceternity UI Pro Demo - Light Mode

Access an ever-growing collection of premium, meticulously crafted templates and Component Blocks.

A product by Aceternity
Building in public at @mannupaaji

© 2026 Aceternity Labs LLC. All Rights Reserved.