Repository navigation
v0.2.0 - Initial release
Structure-aware skeleton loader. One Web Component, every framework.
Highlights
- Wrap your real UI in
<phantom-ui loading>and get perfect shimmer placeholders automatically - Works in React, Vue, Svelte, Angular, Solid, Qwik, and plain HTML
- ~8kb gzipped CDN build (Lit included)
- Runtime DOM measurement via
getBoundingClientRect() - CSS custom properties for theming
data-shimmer-ignoreanddata-shimmer-no-childrenfor fine-grained control- TypeScript types with auto-generated JSX declarations
- Starlight documentation site
Install
bun add @aejkatappaja/phantom-ui