Density Lens

An interactive floating lens that tracks pointer movement to reveal high-density data, magnified details, or alternative views.

Microservice Cluster Topology

STATUS: HEALTHY

Hover your cursor across this surface to inspect sub-pixel details, high-density telemetry data, and underlying node architecture without expanding layout.

NODE_US_EAST_1
NODE_EU_CENTRAL
NODE_AP_SOUTH

Installation

Add the component directly to your repository using shadcn CLI:

npx shadcn@latest add Surajmaurya1/easyui/density-lens

API Reference

PropTypeDefaultDescription
childrenReactNodeUnderlying background content being inspected
renderLensContent(pos: { x: number, y: number, scale: number }) => ReactNodeundefinedCustom overlay rendered inside lens
lensSizenumber150Diameter/width of lens in pixels
lensShape'circle' | 'oval' | 'square''circle'Geometric shape of lens
zoomScalenumber2Magnification factor
showBorderbooleantrueRenders border and glass glow around perimeter