What makes Glass dock work
- Category
- Navigation
- Added
- Nov 8, 2026
- Good for
- The top of any site with a strong photo: studios, clinics, makers, hotels, restaurants
- Built with
- HTML, CSS and JavaScript, no libraries.
- 01Everything is adjustable: bar height and roundness, headline size and colour, glass bend and frost, spring speed and bounce, your name, button, headline and page labels.
- 02The hero photo fills the section, with your headline and a line under it. Near the top floats a glass bar with your name and pages, and your button as a pane of its own beside it.
- 03The page you're on sits in a brighter drop of glass. Point at another page and a new drop buds off the old one: a neck forms between them, thins and snaps, the new drop stretches across and settles under the link, and the old one shrinks away. Leave the links and it flows back. Keyboard focus moves it the same way.
- 04The glass bends the photo at its edges, with a rim of light that follows your pointer. The bar reads the photo under it and chooses dark text on pale glass or white text on darker glass, tinted until the words read; the button is always the opposite pane.
- 05When your pages stop fitting (measured, not at a set width), they fold into a round menu drop. Open it and a glass panel pours out of the drop, across and then down, with your pages in large type and your button; the headline steps back while it's open.
- 06Real navigation: links with the current page marked, Tab stays inside the open menu and Escape closes it. Reduced motion moves the drop without budding. Without WebGL the glass is a CSS frost with the same tints. Clear or smoke glass.
- 07Reads the same pages as the menu family (shared/nav.js), plus your headline and photo. Part of the glass family with Glass tabs and Glass morph.
Use this element
Copy it into your website builder. It keeps the exact design and behavior, and your site's styles can't change it.
A short snippet that loads the element from finerui.com, signed with your embed key. Fixes and updates made here show up everywhere it's used.
Paste it into an HTML or embed block:
- Wix: Add, then Embed code, then Embed HTML
- Squarespace: a Code block
- Webflow: an Embed element
- WordPress: a Custom HTML block
- GoHighLevel: a Custom JS/HTML element
It sizes its own height and has a clear background, so it sits on your page like it belongs there.
The code is for premium members
Premium members copy Glass dock and every other element as an embed, a full file or a Lovable prompt. From $12.42 a month.