Your AI adds an effect that looks like the page is being measured. Crosshair corners lock on, a grid maps the area, cursors mark each element and leave a skeleton block, then the real content comes back piece by piece. Use it on one key visual per section, like a hero image or a bento card, or while a slow part of a page loads. One small file, no dependencies, light and dark themes.


It draws whatever is inside the element when loading starts. Show your real component with placeholder data at its final size, and the skeleton copies its exact structure.
Each line of text becomes a bar at its real width. Buttons, chips, images, charts and inputs become blocks with their own shape and rounded corners. Rows, list items and chart bars are drawn together as groups.
When the data arrives, it measures again, so the real content always lands exactly where the skeleton was. An empty box still gets its frame, grid and corners.
Tested in Chrome, Firefox and Safari at phone, tablet and desktop sizes with up to nine skeletons at once, with no dropped frames in Chrome and Firefox. A skeleton over 3,000 rows hands back the page in one short step.