Skip to content

v0.2.0 - Initial release

Choose a tag to compare

@Aejkatappaja Aejkatappaja released this 30 Mar 16:37
· 202 commits to main since this release
646f1dd

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-ignore and data-shimmer-no-children for fine-grained control
  • TypeScript types with auto-generated JSX declarations
  • Starlight documentation site

Install

bun add @aejkatappaja/phantom-ui

Links