Docs sidebar with a liquid glass lens

A dark component docs sidebar where a magnifying glass pill follows the cursor through the list, enlarging and refracting each item it passes over.

By Edo (@edo_lunardi) · View original post

Originally built with React. Members can get the prompt for React, SwiftUI, React Native or HTML/CSS. More hover effects in React →

Prompt

Build a liquid glass hover lens for a docs sidebar in React with an SVG displacement filter (or WebGL).…

Free forever. Available for React, SwiftUI, React Native and HTML/CSS.

Build it with

Motion details

Spring
stiffness 420, damping 30
Details
Reduced-motion fallback

Keyframes

Six frames from the clip, left to right. Agents get this sheet as a reference with the prompt.

Six keyframes from Docs sidebar with a liquid glass lens

Questions

How do I build the docs sidebar with a liquid glass lens in React?
Copy the Kites Motion prompt for this clip (free account) and paste it into Claude Code, Cursor or Codex, or send it there in one click. The prompt describes the layout, timing and interactions, and links a keyframe sheet so your agent can match the motion. It is written for React and can be rewritten for SwiftUI, React Native, HTML/CSS.
What are the motion details?
Spring: stiffness 420, damping 30. Details: Reduced-motion fallback.
Who designed this animation?
Edo (@edo_lunardi) shared it on X. Kites Motion links back to the original post.

Similar animations

More hover effects →