Liquid Glass Prompt Bar

Liquid Glass Prompt Bar – animated button UI design

Premium React Button Component built with WebGL, GLSL, Tailwind CSS.

A chat and AI prompt bar made of liquid glass, on a soft grey page ruled with a fine square grid that the glass bends at its rim. The text field, the attach button, the actions it squeezes out, the mic and the recording pill are all one glass surface: the shapes melt together like liquid, move on springs and are shaded like Apple’s liquid glass: a clear face with a light frost, a rounded rim that lenses and magnifies what lies behind it with a hint of colour split at the very edge, a soft sheen inside the lit edge, a crisp specular glint where the edge faces the light and a softer counter-glint opposite, and light that leans towards your cursor as it moves; give it a background picture and the glass truly refracts it. Type and the bar grows with your text (Enter sends, Shift + Enter adds a line). The plus squeezes out photo, file and camera drops with a little overshoot and turns into a close button. The mic buds a recording pill off itself with a pulsing dot, live bars and a timer, and its glass tints red; as soon as there is text the mic becomes a dark glass send button. Real, keyboard-accessible controls sit exactly on top of the glass, with callbacks for send, attach and recording.

Installation

npm install lucide-react

More Buttons

View all React Button Components