# @colineapp/liquid-glass > Liquid Glass for the web: the rim refraction, light and motion of iOS 27's glass on any rounded element, with React bindings, menus that pour out of their button, and segmented tabs whose thumb clears into a lens. MIT. Version 0.2.0. Install: `npm install @colineapp/liquid-glass`. npm: https://www.npmjs.com/package/@colineapp/liquid-glass. Source: https://upstream.codes/coline/liquid-glass. Playground: https://liquid-glass.coline.space. ## A menu that pours out of its button The button becomes the menu, and the menu draws back into it. A pill slides under the row you point at. ```tsx import { useLayoutEffect, useRef, type RefObject } from "react"; import { LiquidGlass, useLiquidGlassHighlight, type LiquidGlassHandle } from "@colineapp/liquid-glass/react"; // Render it once open, placed below its button. To close it: // if (await glass.current?.drawBack()) setOpen(false); export function Menu({ button, glass, items }: { button: RefObject; glass: RefObject; items: string[]; }) { const menu = useRef(null); useLiquidGlassHighlight(menu); useLayoutEffect(() => { if (button.current) void glass.current?.pourFrom(button.current, { cover: true }); }, [button, glass]); return (
{items.map((item) => ( ))}
); } ```