npm / tw-shimmer
tw-shimmer
What changed in tw-shimmer 0.2 to 0.4, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
1 performance8 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli inittw-shimmer 0.48 changes
Performance 1
Where -webkit-mask-clip: text is supported, text shimmer uses a masked host and an additive band moving on translate to avoid repainting glyphs every frame; other browsers keep the gradient fallback.
Fixes and other changes 7
Shimmer text now redraws when its content changes in Chrome, preventing new text from becoming garbled when the text box keeps its size.
A text shimmer host must contain text only because its host mask clips every descendant.
Text shimmer holds still under prefers-reduced-motion: reduce on both the compositor and gradient paths.
Text clipping is gated behind the same capability check as the gradient, keeping shimmer text readable below the browser support floor.
Fixes the background shimmer animation speed in Firefox.
Adds the style export condition for CSS entries so Tailwind CSS v4 @import can resolve packages.
Registered shimmer-bg as a standalone @utility so Tailwind v4 tooling recognizes it.
tw-shimmer 0.21 changes
Fixes and other changes 1
Converts shimmer-width-x to unitless to fix Firefox support.