Watch the difference between loading with a spinner vs. pixel-perfect skeleton screens extracted from real DOM.
npm i @lukas_holdings/castdom
Four CSS-only animation modes. No JavaScript runtime. Respects prefers-reduced-motion.
background-position keyframes on a linear-gradient.prefers-reduced-motion: reduce enabled. Zero CPU usage.Click "Simulate Loading" to see the difference in real time.
Building design systems that scale. Currently working on a component library for enterprise dashboards with a focus on accessibility and performance.
Building design systems that scale. Currently working on a component library for enterprise dashboards with a focus on accessibility and performance.
Extracted from real DOM. Not approximated.
Skeletons match exact dimensions from your real DOM. No layout shift when content loads. Ever.
Skeletons render server-side as real HTML. Crawlers see structured content. No JavaScript needed to display.
The shimmer animation is pure CSS. No JS animation loop. No requestAnimationFrame. Just gradients.
Detects text, headings, images, avatars, buttons, and inputs. Renders appropriate shapes for each.
Captures at 375px, 768px, and 1280px by default. Each breakpoint gets its own pixel-perfect skeleton.
Delta-encoded, zigzag varint compressed bone data. Smaller than JSON, smaller than you'd write by hand.