AppMagnifier

A draggable lens that really magnifies what is behind it — the same refraction engine as AppLiquidGlass, curved across the whole surface instead of only at the rim.

Install: pnpm add-component AppMagnifier

Drag the lens

A real magnifier over real text. Everything about the lens is live: raise magnification to zoom, thickness to bend the rim harder, and switch profiles to see convex, squircle and the inverted concave lens. The badge tracks the centre, which is what v-model reports.

It is AppLiquidGlass underneath

The magnifier adds a circle, a drag handler and a zoom term — the glass itself is the same component, composed rather than reimplemented. That is also the shortest way to see what separates the two: set the bevel to the full radius and raise magnification, and a pane becomes a lens.

Driving it from outside

Because the position is a model, the lens does not have to be dragged. Bind it to a pointer, an animation, or a step through the points of a walkthrough, and set draggable to false when it should only ever be driven.

API