liquid search

AI UI component · a prompt for Claude, Codex and Cursor

pro

Get the prompt, project and Figma file with monthly ($29 a month) or yearly ($249 a year). Plus tax where it applies.

A dark room of slow light, an amber glow, a teal one and a white streak drifting over a fine dot field, seen through liquid glass. A round glass drop with a magnifying glass is tapped and springs out into a search bar with "Search" and ⌘K. "tokyo night" is typed letter by letter, and a second sheet of glass melts out of the bar, separates and springs open with four suggestions, the typed part bright and the rest dim. A thinner lens of glass slides inside the panel down to "tokyo night skyline", stretches as it moves and dips on the click; the panel melts back into the bar while the suggestion rides up into the field. A light runs once round the bar's rim as the query is sent, and the panel opens again with the top results: Photos 2,418, Places 36, Stories 112, with mono counts and arrows. Then the panel closes, the text is erased and the bar shrinks back into a drop, breathing slightly, and the loop closes exactly. The glass is one WebGL2 fragment shader: rounded boxes melted with a smooth min, refraction along a 34-px bezel, frost, an RGB split, an iridescent rim, two speculars and a soft contact shadow; text and Phosphor icons sit crisp on a 2D canvas above, under film grain and a pointer. A click or Space pauses; ?rec and window.__render(t) draw any moment for frame-exact video export, and reduced motion gets one still.

what you get

prompt
Paste it into Claude, Codex, Kimi or Cursor to rebuild this template. Tested: we rebuild every template from its prompt before it goes live.
project
The Vite + React source code as a .zip, ready to run.
figma file
The editable design as a .fig file to import into Figma.

what's inside

  • liquid glass
  • search bar
  • search suggestions
  • search results
  • command bar
  • selection lens
  • metaball merge
  • smooth min
  • refraction
  • chromatic aberration
  • frosted glass
  • iridescent rim
  • spring motion
  • typing animation
  • webgl2 shader
  • canvas 2d
  • autoplay loop
  • frame-exact recorder

stack

  • react
  • vite
  • typescript
  • webgl

fonts

Geist, Geist Mono

Free fonts, linked in the prompt.

colors

  • #060708
  • #FF8C38
  • #29A0D1
  • #EBF0FF
  • #9FD8FF
  • #FFFFFF

license

With monthly or yearly: personal and commercial work, client projects included. Don't resell or share the template, prompt or files.

read the license