{"_id":"tw-fade","_rev":"10-19b9e6ab5a10280f8feab31e5491582d","name":"tw-fade","dist-tags":{"latest":"0.10.0"},"versions":{"0.1.0":{"name":"tw-fade","version":"0.1.0","keywords":["tailwindcss","tailwind-plugin","scroll","fade","mask","scroll-driven-animations","scrim","edge-fade","overflow"],"author":{"name":"Pete Petrash"},"license":"MIT","_id":"tw-fade@0.1.0","maintainers":[{"name":"petepetrash","email":"pete.petrash@gmail.com"}],"dist":{"shasum":"7340bff83213d492f5efcfc0da159dbffe473c06","tarball":"https://registry.npmjs.org/tw-fade/-/tw-fade-0.1.0.tgz","fileCount":5,"integrity":"sha512-hRttIh9WoOOpmFt9RkJvnGCiNEm0Fldht8Fr9tyZZ8/CdhoI+6DFQtW+DYfXWLUC8TQW/ksWXi5h7Q2U4r1kng==","signatures":[{"sig":"MEYCIQD5ep4lauSs7JzVbiN0mnVMoXCikLqH2/MxxL+6JE9FIAIhANWjHHT1FkmwChhw0QC3dinmwZhXs3IegAIllFmTfrTN","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44831},"main":"./src/index.js","type":"commonjs","exports":{".":{"import":"./src/index.js","default":"./src/index.js","require":"./src/index.js"},"./css":"./dist/tw-fade.css","./package.json":"./package.json","./dist/tw-fade.css":"./dist/tw-fade.css"},"scripts":{"test":"node --test","build":"node scripts/build-css.mjs","verify":"node build/verify.mjs && node build/verify-dist.mjs && node build/verify-fade.mjs && node build/verify-page.mjs","build:demo":"tailwind -c tailwind.config.js -i demo/input.css -o demo/styles.css","prepublishOnly":"node scripts/build-css.mjs && node --test"},"_npmUser":{"name":"petepetrash","email":"pete.petrash@gmail.com"},"_npmVersion":"11.13.0","description":"Elegant, CSS-driven scroll-edge fade masking for Tailwind CSS. Add fade-t/b/l/r (or -x/-y) to any scroll container to fade content into its surface at the edges — scroll-gated with zero JavaScript.","directories":{},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"playwright":"^1.61.0","tailwindcss":"^3.4.0","@tailwindcss/cli":"^4.0.0"},"peerDependencies":{"tailwindcss":">=3.4.0"},"peerDependenciesMeta":{"tailwindcss":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/tw-fade_0.1.0_1781660351547_0.8319768439935993","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"tw-fade","version":"0.2.0","keywords":["tailwindcss","tailwind-plugin","tailwindcss-v4","scroll","fade","mask","scroll-driven-animations","scrim","edge-fade","overflow"],"author":{"name":"Pete Petrash"},"license":"MIT","_id":"tw-fade@0.2.0","maintainers":[{"name":"petepetrash","email":"pete.petrash@gmail.com"}],"homepage":"https://github.com/petekp/tw-fade#readme","bugs":{"url":"https://github.com/petekp/tw-fade/issues"},"dist":{"shasum":"f9dc135e08e1db4a38898063d9f8f3ea7632cd6e","tarball":"https://registry.npmjs.org/tw-fade/-/tw-fade-0.2.0.tgz","fileCount":5,"integrity":"sha512-Pm9ozEG0+yTrdDS9LU9IablBBUOnf8MCkCwSWREP1ydXx4ykB/FxhGUlKbi6QbU2CkQQpQLjjJ9IWyjgO3+VMg==","signatures":[{"sig":"MEQCIBAMfBiw6j+Zql9HLvrKfW3z6tglgAqhNymLlAaTpklNAiANJInC4HySxh0y3TwEEvl7ugL1TebkeFcOvIXbTZc8ng==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":50200},"style":"./dist/tw-fade.css","exports":{".":"./src/tw-fade.css","./css":"./dist/tw-fade.css","./package.json":"./package.json","./dist/tw-fade.css":"./dist/tw-fade.css"},"gitHead":"2b9beafa6415b48a123ab1e84f00d213a0009554","scripts":{"test":"node --test","build":"node scripts/build-css.mjs","verify":"node build/verify.mjs && node build/verify-dist.mjs && node build/verify-fade.mjs && node build/verify-page.mjs","build:demo":"tailwindcss -i demo/input.css -o demo/styles.css","prepublishOnly":"node scripts/build-css.mjs && node --test"},"_npmUser":{"name":"petepetrash","email":"pete.petrash@gmail.com"},"repository":{"url":"git+https://github.com/petekp/tw-fade.git","type":"git"},"_npmVersion":"11.13.0","description":"Elegant, CSS-driven scroll-edge fade masking for Tailwind CSS v4. Add fade-t/b/l/r (or -x/-y/-xy) to any scroll container to fade content into its surface at the edges — scroll-gated with zero JavaScript.","directories":{},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"playwright":"^1.61.0","tailwindcss":"^4.3.1","@tailwindcss/cli":"^4.0.0"},"peerDependencies":{"tailwindcss":">=4.0.0"},"peerDependenciesMeta":{"tailwindcss":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/tw-fade_0.2.0_1781722862807_0.5842824202215704","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"tw-fade","version":"0.3.0","keywords":["tailwindcss","tailwind-plugin","tailwindcss-v4","scroll","fade","mask","scroll-driven-animations","scrim","edge-fade","overflow"],"author":{"name":"Pete Petrash"},"license":"MIT","_id":"tw-fade@0.3.0","maintainers":[{"name":"petepetrash","email":"pete.petrash@gmail.com"}],"homepage":"https://github.com/petekp/tw-fade#readme","bugs":{"url":"https://github.com/petekp/tw-fade/issues"},"dist":{"shasum":"47d63a69eab57aa99f1af253b5857aef982a858d","tarball":"https://registry.npmjs.org/tw-fade/-/tw-fade-0.3.0.tgz","fileCount":5,"integrity":"sha512-5Iht3SsUrL73OMEvkplE+n0fwfYV1+jDXGeYWUf8W2mHR29m/LIRhdeU1x4rs6/28JhfW90ZQq0yJM/31YEfTQ==","signatures":[{"sig":"MEUCIQDuzP7+tGmRLSZX6z7FYOEHouB9YKi61rrZSNMQoRUnXwIgX2KY6n/YZ1mUueHLnx5j5XRFvWp7Np96MLY4YFfcA3w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":62841},"style":"./dist/tw-fade.css","exports":{".":"./src/tw-fade.css","./css":"./dist/tw-fade.css","./package.json":"./package.json","./dist/tw-fade.css":"./dist/tw-fade.css"},"gitHead":"1183ea4453cc77d64de7a0231480405467f9d39b","scripts":{"test":"node --test","build":"node scripts/build-css.mjs","verify":"node build/verify.mjs && node build/verify-dist.mjs && node build/verify-fade.mjs && node build/verify-page.mjs","build:demo":"tailwindcss -i demo/input.css -o demo/styles.css","prepublishOnly":"node scripts/build-css.mjs && node --test"},"_npmUser":{"name":"petepetrash","email":"pete.petrash@gmail.com"},"repository":{"url":"git+https://github.com/petekp/tw-fade.git","type":"git"},"_npmVersion":"11.13.0","description":"Elegant, CSS-driven scroll-edge fade masking for Tailwind CSS v4. Add fade-t/b/l/r (or -x/-y/-xy) to any scroll container to fade content into its surface at the edges — scroll-gated with zero JavaScript.","directories":{},"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"playwright":"^1.61.0","tailwindcss":"^4.3.1","@tailwindcss/cli":"^4.0.0"},"peerDependencies":{"tailwindcss":">=4.0.0"},"peerDependenciesMeta":{"tailwindcss":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/tw-fade_0.3.0_1781725905539_0.5803828407556586","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"tw-fade","version":"0.5.0","keywords":["tailwindcss","tailwind-plugin","tailwindcss-v4","scroll","fade","mask","scroll-driven-animations","scrim","edge-fade","overflow"],"author":{"name":"Pete Petrash"},"license":"MIT","_id":"tw-fade@0.5.0","maintainers":[{"name":"petepetrash","email":"pete.petrash@gmail.com"}],"homepage":"https://github.com/petekp/tw-fade#readme","bugs":{"url":"https://github.com/petekp/tw-fade/issues"},"dist":{"shasum":"9bb6f5ba61fc6c01adce2ac9410da5b6b0f848ef","tarball":"https://registry.npmjs.org/tw-fade/-/tw-fade-0.5.0.tgz","fileCount":5,"integrity":"sha512-1rQfU64W6lmCASXcl8T5OacR3l2ZjL8rn+4XoZGNyuUh+0mtY9XnBikwooXVoEDVBveHMsQx4m27S9M1AgBbrQ==","signatures":[{"sig":"MEYCIQCvoIrOf7Z1oa46pGLKI0vW6GupK0I05fzd5ED/gFToLwIhAOYG8MqHwNlR8CwBHap1bYHENfaGL9eXusA8EO14VGBv","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":94700},"style":"./dist/tw-fade.css","exports":{".":"./src/tw-fade.css","./css":"./dist/tw-fade.css","./package.json":"./package.json","./dist/tw-fade.css":"./dist/tw-fade.css"},"gitHead":"4e04e320ffd6c5fdb4d3383bdc4326791a8fc4ac","scripts":{"test":"node --test","build":"node scripts/build-css.mjs","verify":"node build/verify.mjs && node build/verify-dist.mjs && node build/verify-fade.mjs && node build/verify-page.mjs && node build/verify-seo.mjs","release":"node scripts/release.mjs","build:demo":"tailwindcss -i demo/input.css -o demo/styles.css","generate:seo":"node scripts/generate-seo-assets.mjs","prepublishOnly":"node scripts/build-css.mjs && node --test"},"_npmUser":{"name":"petepetrash","email":"pete.petrash@gmail.com"},"repository":{"url":"git+https://github.com/petekp/tw-fade.git","type":"git"},"_npmVersion":"11.13.0","description":"Elegant, CSS-driven scroll-edge fade masking for Tailwind CSS v4. Add fade-t/b/l/r (or -x/-y/-xy) to any scroll container to fade content into its surface at the edges — scroll-gated with zero JavaScript.","directories":{},"_nodeVersion":"24.17.0","_hasShrinkwrap":false,"devDependencies":{"playwright":"^1.61.0","tailwindcss":"^4.3.1","@tailwindcss/cli":"^4.0.0"},"peerDependencies":{"tailwindcss":">=4.0.0"},"peerDependenciesMeta":{"tailwindcss":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/tw-fade_0.5.0_1781820689572_0.2693220050605696","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"tw-fade","version":"0.6.0","keywords":["tailwindcss","tailwind-plugin","tailwindcss-v4","scroll","fade","mask","scroll-driven-animations","scrim","edge-fade","overflow"],"author":{"name":"Pete Petrash"},"license":"MIT","_id":"tw-fade@0.6.0","maintainers":[{"name":"petepetrash","email":"pete.petrash@gmail.com"}],"homepage":"https://github.com/petekp/tw-fade#readme","bugs":{"url":"https://github.com/petekp/tw-fade/issues"},"dist":{"shasum":"0cf0704df5d365685b7fc25512ae08cef692e4a2","tarball":"https://registry.npmjs.org/tw-fade/-/tw-fade-0.6.0.tgz","fileCount":5,"integrity":"sha512-V6UIfsVngw7EWC+K8H3QDU217SOyqe8L65/sje+3NTpnFWcPixZLEGehP5D8dVkuR4N/4gDlB654PWqV6OHbig==","signatures":[{"sig":"MEUCIQDPUTzooM/bkD7sRjCxPLHOYkzRFGRyXAXQWk7N7GWo0QIgVsJ/1M/PLQJLkkadLVOIRoGK7Rgf25I/QaXo0mzI8G8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":86192},"style":"./dist/tw-fade.css","exports":{".":"./src/tw-fade.css","./css":"./dist/tw-fade.css","./package.json":"./package.json","./dist/tw-fade.css":"./dist/tw-fade.css"},"gitHead":"6b1bd35a1b30b9eb37b8a364232c2d4d59992e92","scripts":{"test":"node --test","build":"node scripts/build-css.mjs","verify":"node build/verify.mjs && node build/verify-dist.mjs && node build/verify-fade.mjs && node build/verify-demo-assets.mjs && node build/verify-page.mjs && node build/verify-demo-runtime.mjs && node build/verify-seo.mjs","release":"node scripts/release.mjs","build:demo":"tailwindcss -i demo/input.css -o demo/styles.css","export:demo":"node scripts/export-demo-static.mjs","generate:seo":"node scripts/generate-seo-assets.mjs","prepublishOnly":"node scripts/build-css.mjs && node --test"},"_npmUser":{"name":"petepetrash","email":"pete.petrash@gmail.com"},"repository":{"url":"git+https://github.com/petekp/tw-fade.git","type":"git"},"_npmVersion":"11.13.0","description":"Elegant, CSS-driven scroll-edge fade masking for Tailwind CSS v4. Add fade-t/b/l/r (or -x/-y/-xy) to any scroll container to fade content into its surface at the edges — scroll-gated with zero JavaScript.","directories":{},"_nodeVersion":"24.17.0","_hasShrinkwrap":false,"devDependencies":{"playwright":"^1.61.0","tailwindcss":"^4.3.1","@tailwindcss/cli":"^4.0.0"},"peerDependencies":{"tailwindcss":">=4.0.0"},"peerDependenciesMeta":{"tailwindcss":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/tw-fade_0.6.0_1782064437408_0.6112624671043974","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"tw-fade","version":"0.7.0","keywords":["tailwindcss","tailwind-plugin","tailwindcss-v4","scroll","fade","mask","scroll-driven-animations","scrim","edge-fade","overflow","rtl","direction-aware","logical-properties","bidi"],"author":{"name":"Pete Petrash"},"license":"MIT","_id":"tw-fade@0.7.0","maintainers":[{"name":"petepetrash","email":"pete.petrash@gmail.com"}],"homepage":"https://github.com/petekp/tw-fade#readme","bugs":{"url":"https://github.com/petekp/tw-fade/issues"},"dist":{"shasum":"cda5b02eb2988387298132a559d85ea45762a79e","tarball":"https://registry.npmjs.org/tw-fade/-/tw-fade-0.7.0.tgz","fileCount":7,"integrity":"sha512-1FUIYNLZ4vSiJGBuMl+Ju130I3DQ+1OOl3q07/pd1crT9am4vyktRlJt0jpB4oe5ffqu6VshbMUz//zCOKGRJg==","signatures":[{"sig":"MEUCIDGWX36zQoVwqfWY45CMASaGyM3Ng7SLG971wBeTsk9HAiEAkYhXK2b9JaLGKnm4n4/GpbjldzxuRwAEkXa86gQYzxM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":83424},"style":"./dist/tw-fade.css","exports":{".":"./src/tw-fade.css","./css":"./dist/tw-fade.css","./package.json":"./package.json","./dist/tw-fade.css":"./dist/tw-fade.css"},"gitHead":"27e813af08c8a413c6ba6e189c5c0971136fa134","scripts":{"test":"node --test","build":"node scripts/build-css.mjs","debug":"node scripts/build-debug.mjs","verify":"node build/verify.mjs && node build/verify-horizontal-rtl.mjs && node build/verify-dist.mjs && node build/verify-fade.mjs && node build/verify-demo-assets.mjs && node build/verify-page.mjs && node build/verify-demo-runtime.mjs && node build/verify-favicon.mjs && node build/verify-seo.mjs","release":"node scripts/release.mjs","ship-demo":"node scripts/ship-demo.mjs","build:demo":"tailwindcss -i demo/input.css -o demo/styles.css","export:demo":"node scripts/export-demo-static.mjs","generate:seo":"node scripts/generate-seo-assets.mjs","prepublishOnly":"node scripts/build-css.mjs && node --test"},"_npmUser":{"name":"petepetrash","email":"pete.petrash@gmail.com"},"repository":{"url":"git+https://github.com/petekp/tw-fade.git","type":"git"},"_npmVersion":"11.16.0","description":"Elegant, CSS-driven scroll-edge fade masking for Tailwind CSS v4. Add fade-y, fade-x, fade-start, or fade-end to any scroll container to fade content into its surface at the edges — scroll-gated with zero JavaScript.","directories":{},"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"devDependencies":{"playwright":"^1.61.0","tw-shimmer":"^0.4.11","tailwindcss":"^4.3.1","@tailwindcss/cli":"^4.0.0"},"peerDependencies":{"tailwindcss":">=4.0.0"},"peerDependenciesMeta":{"tailwindcss":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/tw-fade_0.7.0_1782711188960_0.2313699131461957","host":"s3://npm-registry-packages-npm-production"}},"0.7.1":{"name":"tw-fade","version":"0.7.1","keywords":["tailwindcss","tailwind-plugin","tailwindcss-v4","scroll","fade","mask","scroll-driven-animations","scrim","edge-fade","overflow","rtl","direction-aware","logical-properties","bidi"],"author":{"name":"Pete Petrash"},"license":"MIT","_id":"tw-fade@0.7.1","maintainers":[{"name":"petepetrash","email":"pete.petrash@gmail.com"}],"homepage":"https://github.com/petekp/tw-fade#readme","bugs":{"url":"https://github.com/petekp/tw-fade/issues"},"dist":{"shasum":"32e8916d546ebf3cc6376cf24a46c078ae8acc90","tarball":"https://registry.npmjs.org/tw-fade/-/tw-fade-0.7.1.tgz","fileCount":7,"integrity":"sha512-eV4kb+ff/GPbGkM5UM5TBrVUXKtkq8BH/vHIUvz4YX59GJepfunv/d6q7nhNd4c4VoyZMHRER0zVlRBV3SUZJg==","signatures":[{"sig":"MEQCIFvbxIBKQ+ZBhnbPPACvW7oiqNYpMUcZOqwucKTdN26lAiA3WyXdDca5x4Cy7YcNDwIjCZeSuNNLFZoLia12uYqEcQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":87631},"style":"./dist/tw-fade.css","exports":{".":"./src/tw-fade.css","./css":"./dist/tw-fade.css","./package.json":"./package.json","./dist/tw-fade.css":"./dist/tw-fade.css"},"gitHead":"38d463869edf556fb030e1323621954db40686c1","scripts":{"test":"node --test","build":"node scripts/build-css.mjs","debug":"node scripts/build-debug.mjs","verify":"node build/verify.mjs && node build/verify-horizontal-rtl.mjs && node build/verify-dist.mjs && node build/verify-stale-state.mjs && node build/verify-fade.mjs && node build/verify-demo-assets.mjs && node build/verify-page.mjs && node build/verify-demo-runtime.mjs && node build/verify-favicon.mjs && node build/verify-seo.mjs","release":"node scripts/release.mjs","ship-demo":"node scripts/ship-demo.mjs","build:demo":"tailwindcss -i demo/input.css -o demo/styles.css","export:demo":"node scripts/export-demo-static.mjs","generate:seo":"node scripts/generate-seo-assets.mjs","prepublishOnly":"node scripts/build-css.mjs && node --test"},"_npmUser":{"name":"petepetrash","email":"pete.petrash@gmail.com"},"repository":{"url":"git+https://github.com/petekp/tw-fade.git","type":"git"},"_npmVersion":"11.16.0","description":"Elegant, CSS-driven scroll-edge fade masking for Tailwind CSS v4. Add fade-y, fade-x, fade-start, or fade-end to any scroll container to fade content into its surface at the edges — scroll-gated with zero JavaScript.","directories":{},"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"devDependencies":{"playwright":"^1.61.0","tw-shimmer":"^0.4.11","tailwindcss":"^4.3.1","@tailwindcss/cli":"^4.0.0"},"peerDependencies":{"tailwindcss":">=4.0.0"},"peerDependenciesMeta":{"tailwindcss":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/tw-fade_0.7.1_1782802547649_0.17272473899513208","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"tw-fade","version":"0.8.0","keywords":["tailwindcss","tailwind-plugin","tailwindcss-v4","scroll","fade","mask","scroll-driven-animations","scrim","edge-fade","overflow","rtl","direction-aware","logical-properties","bidi"],"author":{"name":"Pete Petrash"},"license":"MIT","_id":"tw-fade@0.8.0","maintainers":[{"name":"petepetrash","email":"pete.petrash@gmail.com"}],"homepage":"https://github.com/petekp/tw-fade#readme","bugs":{"url":"https://github.com/petekp/tw-fade/issues"},"dist":{"shasum":"657172fd8b96cd1a710e83e9567a0c0ef6a3d4c6","tarball":"https://registry.npmjs.org/tw-fade/-/tw-fade-0.8.0.tgz","fileCount":7,"integrity":"sha512-9ewfWqOiMaUKrsiN4+jsu1IyFnqzr9coZrVRzGlB0G1HuEPcvpCG2sRo8F1rEoRXxFVmrL6WxT8CRIlmYPV0Qw==","signatures":[{"sig":"MEUCIQDimLmS3+rj8uLqJPqkiVJscYz0IyDrzMcZcCVulOnI/gIgCL808+Fdh1cmAwyLpBNCzBcqH+Pdopl7ZhJCazofLiQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":127353},"style":"./dist/tw-fade.css","exports":{".":"./src/tw-fade.css","./css":"./dist/tw-fade.css","./package.json":"./package.json","./dist/tw-fade.css":"./dist/tw-fade.css"},"gitHead":"595b598d827c876fb4525a856b1b51cd4328ec65","scripts":{"test":"node --test","build":"node scripts/build-css.mjs","debug":"node scripts/build-debug.mjs","verify":"node build/verify.mjs && node build/verify-horizontal-rtl.mjs && node build/verify-dist.mjs && node build/verify-stale-state.mjs && node build/verify-scrollbar.mjs && node build/verify-fade.mjs && node build/verify-demo-assets.mjs && node build/verify-page.mjs && node build/verify-demo-runtime.mjs && node build/verify-favicon.mjs && node build/verify-seo.mjs","release":"node scripts/release.mjs","ship-demo":"node scripts/ship-demo.mjs","build:demo":"tailwindcss -i demo/input.css -o demo/styles.css","export:demo":"node scripts/export-demo-static.mjs","generate:seo":"node scripts/generate-seo-assets.mjs","prepublishOnly":"node scripts/build-css.mjs && node --test"},"_npmUser":{"name":"petepetrash","email":"pete.petrash@gmail.com"},"repository":{"url":"git+https://github.com/petekp/tw-fade.git","type":"git"},"_npmVersion":"11.16.0","description":"Elegant, CSS-driven scroll-edge fade masking for Tailwind CSS v4. Add fade-y, fade-x, fade-start, or fade-end to any scroll container to fade content into its surface at the edges — scroll-gated with zero JavaScript.","directories":{},"_nodeVersion":"24.18.1","_hasShrinkwrap":false,"devDependencies":{"playwright":"^1.61.0","tw-shimmer":"^0.4.11","tailwindcss":"^4.3.1","@tailwindcss/cli":"^4.0.0"},"peerDependencies":{"tailwindcss":">=4.0.0"},"peerDependenciesMeta":{"tailwindcss":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/tw-fade_0.8.0_1785521861039_0.14368059927349397","host":"s3://npm-registry-packages-npm-production"}},"0.9.0":{"name":"tw-fade","version":"0.9.0","keywords":["tailwindcss","tailwind-plugin","tailwindcss-v4","scroll","fade","mask","scroll-driven-animations","scrim","edge-fade","overflow","rtl","direction-aware","logical-properties","bidi"],"author":{"name":"Pete Petrash"},"license":"MIT","_id":"tw-fade@0.9.0","maintainers":[{"name":"petepetrash","email":"pete.petrash@gmail.com"}],"homepage":"https://github.com/petekp/tw-fade#readme","bugs":{"url":"https://github.com/petekp/tw-fade/issues"},"dist":{"shasum":"7f89a595e01f2ef0435f60982fbe5c05cfd3d702","tarball":"https://registry.npmjs.org/tw-fade/-/tw-fade-0.9.0.tgz","fileCount":7,"integrity":"sha512-RqWDyqrn5nE6kuQXSGxM/8BkWWW/ViGz01U4Uq8h3bQphiT1W0PBtCYMAn2dsbWj+4WnUdOLFO2OkgjFIFHWEg==","signatures":[{"sig":"MEYCIQC2zSNKl8tqzY53g9yGTt0NrER7uFnQAB3/VUswTAKtuQIhAM1NocB+W/xGFlfTcZs9oRObvwGRMf0sgv6Iv3jDzQQS","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIGNpLA1gqjZeqdWLPt+kBD/PKwJpJQHcDOxsy7FKaeTMAiEAyzPA0+ajUnnf87DfvpcZaZpkjlLB7A9c0mqB0T3cucg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":195982},"style":"./dist/tw-fade.css","exports":{".":"./src/tw-fade.css","./css":"./dist/tw-fade.css","./package.json":"./package.json","./dist/tw-fade.css":"./dist/tw-fade.css"},"gitHead":"f86a41fea57a8d004dbd8f8e45c3537937e4d2ba","scripts":{"test":"node --test","build":"node scripts/build-css.mjs","debug":"node scripts/build-debug.mjs","verify":"node build/verify.mjs && node build/verify-horizontal-rtl.mjs && node build/verify-dist.mjs && node build/verify-stale-state.mjs && node build/verify-scrollbar.mjs && node build/verify-fade.mjs && node build/verify-demo-assets.mjs && node build/verify-page.mjs && node build/verify-demo-runtime.mjs && node build/verify-favicon.mjs && node build/verify-seo.mjs","release":"node scripts/release.mjs","ship-demo":"node scripts/ship-demo.mjs","build:demo":"tailwindcss -i demo/input.css -o demo/styles.css","export:demo":"node scripts/export-demo-static.mjs","generate:seo":"node scripts/generate-seo-assets.mjs","prepublishOnly":"node scripts/build-css.mjs && node --test","verify:blur-lab":"node build/verify-blur-lab.mjs"},"_npmUser":{"name":"petepetrash","email":"pete.petrash@gmail.com"},"repository":{"url":"git+https://github.com/petekp/tw-fade.git","type":"git"},"_npmVersion":"11.19.1","description":"Elegant, CSS-driven scroll-edge fade masking for Tailwind CSS v4. Add fade-y, fade-x, fade-start, or fade-end to any scroll container to fade content into its surface at the edges — scroll-gated with zero JavaScript.","directories":{},"_nodeVersion":"24.22.0","_hasShrinkwrap":false,"devDependencies":{"playwright":"^1.61.0","tw-shimmer":"^0.4.11","tailwindcss":"^4.3.1","@tailwindcss/cli":"^4.0.0"},"peerDependencies":{"tailwindcss":">=4.0.0"},"peerDependenciesMeta":{"tailwindcss":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/tw-fade_0.9.0_1792269756109_0.6589221809636696","host":"s3://npm-registry-packages-npm-production"}},"0.10.0":{"_id":"tw-fade@0.10.0","bugs":{"url":"https://github.com/petekp/tw-fade/issues"},"dist":{"shasum":"a8775ff9833bb16ad8bcc9a790012ed9528891a2","tarball":"https://registry.npmjs.org/tw-fade/-/tw-fade-0.10.0.tgz","fileCount":7,"integrity":"sha512-pPCpTAcAV1vx56QAbUHNszfCc8Th4icXAf5+6jUNE0QvYWOkt+bjSwSV8le3NZbdUKht49QK2ok7gyt+8WfOnQ==","signatures":[{"sig":"MEYCIQDjZIlyU7rW/bHSaFIY1pdovg6reoy8zXHp7gpw3xZzmQIhAKnOs4mtHmb+q+avdRKp+3BpbkFdPuSN0OMd5YELeV77","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBLOQQAJm4tU6PL1y4NVBKjjszHf3UBxRWDhuCudVRuwAiEAjGnVcMXO9nKtgakArioQvDichJSMkawFF4svU8v+yMw="}],"unpackedSize":208978},"name":"tw-fade","_from":"file:/private/tmp/tw-fade-release-010/tw-fade-0.10.0.tgz","style":"./dist/tw-fade.css","author":{"name":"Pete Petrash"},"exports":{".":"./src/tw-fade.css","./css":"./dist/tw-fade.css","./package.json":"./package.json","./dist/tw-fade.css":"./dist/tw-fade.css"},"license":"MIT","scripts":{"test":"node --test","build":"node scripts/build-css.mjs","debug":"node scripts/build-debug.mjs","verify":"node build/verify.mjs && node build/verify-horizontal-rtl.mjs && node build/verify-dist.mjs && node build/verify-stale-state.mjs && node build/verify-scrollbar.mjs && node build/verify-fade.mjs && node build/verify-demo-assets.mjs && node build/verify-page.mjs && node build/verify-demo-runtime.mjs && node build/verify-favicon.mjs && node build/verify-seo.mjs","release":"node scripts/release.mjs","ship-demo":"node scripts/ship-demo.mjs","build:demo":"tailwindcss -i demo/input.css -o demo/styles.css","export:demo":"node scripts/export-demo-static.mjs","generate:seo":"node scripts/generate-seo-assets.mjs","prepublishOnly":"node scripts/build-css.mjs && node --test","verify:blur-lab":"node build/verify-blur-lab.mjs"},"version":"0.10.0","_npmUser":{"name":"petepetrash","email":"pete.petrash@gmail.com"},"homepage":"https://github.com/petekp/tw-fade#readme","keywords":["tailwindcss","tailwind-plugin","tailwindcss-v4","scroll","fade","mask","scroll-driven-animations","scrim","edge-fade","overflow","rtl","direction-aware","logical-properties","bidi"],"_resolved":"/private/tmp/tw-fade-release-010/tw-fade-0.10.0.tgz","_integrity":"sha512-pPCpTAcAV1vx56QAbUHNszfCc8Th4icXAf5+6jUNE0QvYWOkt+bjSwSV8le3NZbdUKht49QK2ok7gyt+8WfOnQ==","repository":{"url":"git+https://github.com/petekp/tw-fade.git","type":"git"},"_npmVersion":"11.19.1","description":"Elegant, CSS-driven scroll-edge fade masking for Tailwind CSS v4. Add fade-y, fade-x, fade-start, or fade-end to any scroll container to fade content into its surface at the edges — scroll-gated with zero JavaScript.","directories":{},"maintainers":[{"name":"petepetrash","email":"pete.petrash@gmail.com"}],"_nodeVersion":"24.22.0","_hasShrinkwrap":false,"devDependencies":{"playwright":"^1.61.0","tw-shimmer":"^0.4.11","tailwindcss":"^4.3.1","@tailwindcss/cli":"^4.0.0"},"peerDependencies":{"tailwindcss":">=4.0.0"},"peerDependenciesMeta":{"tailwindcss":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tw-fade_0.10.0_1792373816534_0.5130237964304019"}}},"time":{"created":"2026-06-17T01:39:11.464Z","modified":"2026-10-19T01:36:56.774Z","0.1.0":"2026-06-17T01:39:11.689Z","0.2.0":"2026-06-17T19:01:03.015Z","0.3.0":"2026-06-17T19:51:45.786Z","0.5.0":"2026-06-18T22:11:29.710Z","0.6.0":"2026-06-21T17:53:57.548Z","0.7.0":"2026-06-29T05:33:09.086Z","0.7.1":"2026-06-30T06:55:47.814Z","0.8.0":"2026-07-31T18:17:41.186Z","0.9.0":"2026-10-17T20:42:36.217Z","0.10.0":"2026-10-19T01:36:56.611Z"},"bugs":{"url":"https://github.com/petekp/tw-fade/issues"},"author":{"name":"Pete Petrash"},"license":"MIT","homepage":"https://github.com/petekp/tw-fade#readme","keywords":["tailwindcss","tailwind-plugin","tailwindcss-v4","scroll","fade","mask","scroll-driven-animations","scrim","edge-fade","overflow","rtl","direction-aware","logical-properties","bidi"],"repository":{"url":"git+https://github.com/petekp/tw-fade.git","type":"git"},"description":"Elegant, CSS-driven scroll-edge fade masking for Tailwind CSS v4. Add fade-y, fade-x, fade-start, or fade-end to any scroll container to fade content into its surface at the edges — scroll-gated with zero JavaScript.","maintainers":[{"name":"petepetrash","email":"pete.petrash@gmail.com"}],"readme":"# tw-fade\n\nScroll-aware opacity fades and edge blur for Tailwind CSS v4. Select either effect, or combine them. Each appears while content remains beyond an edge and clears when you reach it.\n\nVersion `0.10.0` introduces the frame renderer for blur. Existing blur users need the [frame migration](./MIGRATING.md#containing-existing-blur-scrollers). Opacity-only usage is unchanged.\n\n**[Live demo](https://pete.design/tw-fade)**\n\n```html\n<div class=\"fade-y h-64 overflow-y-auto\">\n  <!-- long content; top and bottom fade as you scroll -->\n</div>\n```\n\nApply opacity-only classes to the scroll container. Opacity fading reveals your existing surface and needs no wrapper. Blur softens content near its selected edges and requires a [containing wrapper](#blur-setup). Both effects are CSS-only. Size, travel, and clear-zone settings are shared. Browsers without scroll-driven animations retain static opacity fading and omit blur.\n\n## Install\n\n### Tailwind v4 source path\n\nUse the source path in a Tailwind v4 app. It generates responsive and state variants, plus bracket values such as `fade-size-[2rem]`.\n\n```bash\nnpm install tw-fade\n```\n\n```css\n@import \"tailwindcss\";\n@import \"tw-fade\";\n```\n\n### Prebuilt CSS\n\nUse the prebuilt file with plain HTML, a CDN, or a bundler that imports CSS.\n\n```html\n<link rel=\"stylesheet\" href=\"https://unpkg.com/tw-fade@0.10.0/dist/tw-fade.css\" />\n```\n\n```js\nimport \"tw-fade/css\";\n```\n\nThe prebuilt file contains the named, unprefixed utility set. Variants and bracket values require Tailwind's source path. Pin CDN imports to a version to avoid breaking changes.\n\n## Usage\n\nApply opacity-only selectors to the scrolling element. For blur or combined effects, put the selectors and configuration on `fade-blur-frame`; its first child is the scroller.\n\n| Intent | Classes |\n| --- | --- |\n| Vertical opacity fade | `fade-y` |\n| Vertical blur | `fade-blur-y` |\n| Both effects vertically | `fade-y fade-blur-y` |\n| Top blur and bottom opacity fade | `fade-blur-top fade-bottom` |\n\n```html\n<!-- Top and bottom -->\n<div class=\"fade-y h-80 overflow-y-auto\">...</div>\n\n<!-- All four edges -->\n<div class=\"fade h-80 overflow-auto\">...</div>\n\n<!-- Horizontal rail, direction-aware -->\n<div class=\"fade-x overflow-x-auto\">...</div>\n\n<!-- Compose single edges -->\n<div class=\"fade-top fade-end h-80 overflow-auto\">...</div>\n\n<!-- Tune the band and travel distance -->\n<div class=\"fade-y fade-size-lg fade-travel-xl h-80 overflow-y-auto\">...</div>\n```\n\n## Direction Utilities\n\n| Opacity selector | Blur selector | Edges |\n| --- | --- | --- |\n| `fade` | `fade-blur` | all four edges |\n| `fade-y` | `fade-blur-y` | top + bottom |\n| `fade-top` | `fade-blur-top` | top |\n| `fade-bottom` | `fade-blur-bottom` | bottom |\n| `fade-x` | `fade-blur-x` | horizontal start + horizontal end |\n| `fade-start` | `fade-blur-start` | horizontal start |\n| `fade-end` | `fade-blur-end` | horizontal end |\n\nSelections add together within each effect. `fade-top fade-bottom` selects both opacity edges. `fade-blur-y fade-blur-x` selects all blur edges. Neither family changes the other's selection. Strength, geometry, and activation settings do not select edges by themselves.\n\n`start` and `end` name horizontal edges and follow the HTML `dir` attribute. In LTR, start is left and end is right. RTL reverses them. `top` and `bottom` stay physical.\n\nSet `dir` on the plain fade scroller or blur frame, or on an ancestor. A CSS `direction: rtl` rule does not trigger RTL routing. See [Why plain directions](./MIGRATING.md#why-plain-directions) for the naming rationale.\n\n```html\n<div dir=\"rtl\" class=\"fade-start overflow-x-auto\">...</div>\n```\n\n## Blur\n\nUse a blur selector such as `fade-blur-y` for blur without opacity fading. Add an opacity selector when you want both effects.\n\n### Blur setup\n\nPut `fade-blur-frame`, effect selectors, and configuration on the outer frame. Its first child must be the scrolling element. Size that child for your layout and give it `overflow: auto`.\n\n```html\n<div class=\"fade-blur-frame fade-blur-y\" style=\"border-radius: 1rem\">\n  <div style=\"height: 20rem; overflow: auto\">\n    ...\n  </div>\n</div>\n```\n\nKeep `fade-blur-frame` unprefixed in the markup; it is structural and cannot be used through `@apply`. Apply responsive and state variants to the effect and configuration utilities on that frame.\n\nWith Tailwind, use `rounded-xl` on the frame and `h-80 overflow-y-auto` on the child. Set `dir` on the frame or an ancestor so its controls and scrolling child share the same direction. The frame renderer is available in both the Tailwind source and prebuilt CSS.\n\nThe frame reads its child's scroll timelines. It applies opacity fading to that child and renders blur beside it, outside the fade mask. This lets blur sample the content together with the visible page background and replace sharp edges instead of adding a halo. Transparent backgrounds stay visible and also soften within the selected blur bands.\n\nPut borders and equal-radius round corners on the frame; keep its scrolling child borderless. Unequal radii and `corner-shape` shapes other than `round` can cause Chromium to blur the center despite its mask. See [Chromium issue 574875260](https://issues.chromium.org/issues/574875260).\n\nKeep masks, filters, opacity below `1`, and backdrop filters off the frame and its ancestors between the frame and the visible background. They can isolate that background from the renderer and restore the halo. Put transforms on the frame rather than the scrolling child. Paint containment clips content outside the frame and makes it a containing block for positioned descendants; place popovers outside it when they need to escape. Use an inset focus indicator on the scroller, such as `outline-offset: -2px`, or draw the indicator on the frame.\n\nBlock, flex, grid, relative, and absolute scrollers can use the frame. An absolutely positioned scroller needs a sized frame and can fill it with `inset: 0`. Keep the scrollport inside the frame's bounds. Large effect bands can meet in the middle; leave space between the selected bands when you want a crisp center.\n\nThe frame renderer requires version `0.10.0` or newer. See [migration guidance](./MIGRATING.md#containing-existing-blur-scrollers) when upgrading from `0.9.0`.\n\n### Progressive blur\n\nThe default uses one blur layer. Add exactly four empty spans to the frame, after the scrolling child, for five increasing blur radii.\n\n```html\n<div class=\"fade-blur-frame fade-y fade-blur-y fade-blur-md\" style=\"border-radius: 1rem\">\n  <div style=\"height: 20rem; overflow: auto\">\n    ...\n  </div>\n  <span class=\"fade-blur-layer\" aria-hidden=\"true\"></span>\n  <span class=\"fade-blur-layer\" aria-hidden=\"true\"></span>\n  <span class=\"fade-blur-layer\" aria-hidden=\"true\"></span>\n  <span class=\"fade-blur-layer\" aria-hidden=\"true\"></span>\n</div>\n```\n\n`fade-blur-sm`, `fade-blur-md`, and `fade-blur-lg` set strength only. They do nothing without a blur selector. The single radii are `2px`, `3px`, and `6px`; a selector without a strength class uses `md` (`3px`). There is no arbitrary-radius utility in this API. Override `--fade-blur-sm`, `--fade-blur-md`, or `--fade-blur-lg` with a CSS length to tune a preset.\n\nProgressive mode uses a stronger sequence of radii in the same region. It approximates a gradual change in blur, without promising an exact radius at every pixel. Layer counts other than four use single blur. The scrolling element must remain the first child. Keep the structural `fade-blur-layer` marker unprefixed; apply variants to the parent blur utilities. Conditional switching between single and progressive structure is not a utility feature.\n\nBlur strength does not change opacity. `fade-size-*`, per-edge sizes, `fade-clear-*`, travel, and onset configure both effects. Activation is independent: `fade-none` disables opacity, and `fade-blur-none` disables blur. See [activation controls](#activation-controls).\n\nBoth renderers preserve pointer input. A blur selector reserves the frame's `::after` and `anchor-scope`. The frame reserves its own `timeline-scope` and its child's `anchor-name` and `scroll-timeline`. Layers use z-index 1000–1004 inside the frame; keep content below that range. Use a frame that permits direct spans, such as a `div`. Its scrolling child may be a native list.\n\nBlur needs backdrop filters, CSS anchor positioning and scope, filtered `:nth-child()`, scroll-driven animations, and `timeline-scope`. Blur selectors outside a `fade-blur-frame` do not render blur. See [fallbacks and support](#browser-support) for the effect-specific result.\n\nBlur uses the same raw scroll state as opacity fading. The [dynamic-content limitation](#dynamic-content-on-a-stable-scrollport) applies to both. When an axis cannot overflow, disable each selected effect on that axis.\n\n## Size\n\nSize controls the reach of both effects from each selected edge.\n\n| Utility | Affects |\n| --- | --- |\n| `fade-size-*` | all edges |\n| `fade-size-y-*` | top + bottom |\n| `fade-size-x-*` | start + end |\n| `fade-size-top-*` | top |\n| `fade-size-bottom-*` | bottom |\n| `fade-size-start-*` | horizontal start |\n| `fade-size-end-*` | horizontal end |\n\n```html\n<div class=\"fade fade-size-md fade-size-top-2xl overflow-auto\">...</div>\n```\n\nSize precedence runs from edge to axis to global to default. For example, `fade-size-top-*` overrides `fade-size-y-*`, which overrides `fade-size-*`.\n\n`tw-fade` caps the default at `min(12%, 3rem)`. Named sizes use Tailwind's `--spacing` token, with `0.25rem` as the fallback.\n\nExplicit sizes are not capped. Opposing bands can overlap and cover the center of a small scroller.\n\n| Step | Value | Step | Value |\n| --- | --- | --- | --- |\n| `xs` | `1.5rem` | `xl` | `5rem` |\n| `sm` | `2rem` | `2xl` | `6rem` |\n| `md` | `3rem` | `3xl` | `8rem` |\n| `lg` | `4rem` | `4xl` | `10rem` |\n\nYou can override the tokens:\n\n```css\n@theme {\n  --fade-size-md: 2.5rem;\n}\n```\n\nThe source path accepts named values, lengths, and percentages, including `fade-size-[15%]`.\n\n## Travel Distance\n\n`fade-travel-*` controls how far you scroll before either effect reaches its full band width. Travel and onset are shared by opacity and blur.\n\n```html\n<div class=\"fade-y fade-travel-sm overflow-y-auto\">...</div>\n<div class=\"fade-y fade-travel-[80px] overflow-y-auto\">...</div>\n```\n\nSmaller values open the band sooner. The edge reaches full transparency after about `travel ÷ 8` while the band continues to widen.\n\nSet `--tw-fade-onset` to a number on the effect owner, either the plain fade scroller or the blur frame to change that ratio. The default is `8`; higher values make the edge transparent sooner. Onset stays local to each scroller. A nested scroller keeps its default unless you set a value on it.\n\nTravel uses the same named steps as size through its own `--fade-travel-*` tokens, and defaults to `sm`. The source path also accepts bracket values such as `fade-travel-[80px]`.\n\n## Clear Zones\n\nClear zones offset an edge's opacity fade and blur. Use them for sticky headers, sticky footers, or fixed controls inside the scroll container. A clear zone applies to its edge; it does not protect a rectangle from other selected edges. For example, a top clear zone does not prevent a horizontal effect crossing the same header.\n\n| Utility | Affects |\n| --- | --- |\n| `fade-clear-*` | all edges |\n| `fade-clear-y-*` | top + bottom |\n| `fade-clear-x-*` | start + end |\n| `fade-clear-top-*` | top |\n| `fade-clear-bottom-*` | bottom |\n| `fade-clear-start-*` | horizontal start |\n| `fade-clear-end-*` | horizontal end |\n\n```html\n<div class=\"fade-top fade-clear-top-[56px] h-80 overflow-y-auto\">\n  <header class=\"sticky top-0 h-14\">...</header>\n  ...\n</div>\n```\n\nThe source path accepts named values, lengths, percentages, and bare integers. An integer uses `--spacing * N`, so `fade-clear-top-4` resolves to `1rem` with the default spacing unit.\n\n### Dynamic Clear Zones\n\nAppend `-var` when the clear zone depends on runtime layout:\n\n```html\n<div class=\"fade-top fade-clear-top-var\" style=\"--fade-clear-top: 56px\">\n  ...\n</div>\n```\n\nUse `fade-clear-var`, an axis form such as `fade-clear-y-var`, or an edge form such as `fade-clear-top-var`. Values fall back from edge to axis to global to `0px`.\n\n```css\n--fade-clear-top: 56px;\n--fade-clear-y: 24px;\n--fade-clear: 0px;\n```\n\n<a id=\"force-or-disable-a-fade\"></a>\n\n## Activation Controls\n\nEach effect has its own activation settings. Pair a setting with an effect selector; a mode alone does not select an edge or create an effect.\n\n| Meaning | Opacity | Blur |\n| --- | --- | --- |\n| Follow scrolling; default | `fade-auto` | `fade-blur-auto` |\n| Force selected edges on | `fade-always` | `fade-blur-always` |\n| Disable selected edges | `fade-none` | `fade-blur-none` |\n\nEvery mode supports global, `x`, `y`, `top`, `bottom`, `start`, and `end` scopes. Examples include `fade-auto-top`, `fade-none-y`, and `fade-blur-always-start`.\n\nAn edge setting wins over an axis setting, which wins over a global setting. An absent setting falls through to the broader scope, then to automatic behavior. An explicit `auto` stops that fallthrough. None of these modes removes an edge selection.\n\n| Classes | Result |\n| --- | --- |\n| `fade fade-always fade-none-x` | Vertical opacity forced on; horizontal opacity off |\n| `fade fade-none fade-always-y` | Vertical opacity forced on; horizontal opacity off |\n| `fade-y fade-always fade-none-y fade-auto-top` | Top opacity follows scrolling; bottom opacity off |\n| `fade-y fade-blur-y fade-none` | Blur remains automatic; opacity off |\n| `fade-y fade-blur-y fade-none fade-blur-none` | Both effects off |\n\nPrefer one mode per scope and condition. Conflicting modes at the same scope and identical variant chain resolve as **`none` > `auto` > `always`**, regardless of class-string order. Thus `fade-always fade-auto` is automatic, and adding `fade-none` disables it. This order is a tie-break within one condition; it does not outrank active conditional overrides.\n\n### Conditional Composition\n\nOn the Tailwind source path, responsive and state variants replace the base mode at the same scope while their condition matches. When the condition ends, the base applies again. All six transitions work:\n\n| Classes, alongside `fade-y` | Below `md` | At `md` and above |\n| --- | --- | --- |\n| `fade-auto md:fade-always` | automatic | forced on |\n| `fade-auto md:fade-none` | automatic | off |\n| `fade-always md:fade-auto` | forced on | automatic |\n| `fade-always md:fade-none` | forced on | off |\n| `fade-none md:fade-auto` | off | automatic |\n| `fade-none md:fade-always` | off | forced on |\n\nThe same rules apply to `fade-blur-*` modes and state conditions such as `hover:`, `focus-visible:`, `group-hover:`, and `data-[open]:`. To disable both effects at a breakpoint, use both `md:fade-none` and `md:fade-blur-none`.\n\nScope still takes priority. `fade-blur-y fade-blur-none-y md:fade-blur-auto` stays disabled because the axis setting is narrower. Use `md:fade-blur-auto-y` to replace that setting.\n\nSelectors add edges. `fade-y md:fade-x` selects both axes at `md`. Use `max-md:fade-y md:fade-x` to switch from vertical to horizontal selection, or `fade-y md:fade-x md:fade-none-y` to suppress the vertical treatment there. The same applies to blur.\n\nThere is no public unset mode. To resume broader-scope resolution, bound the narrower setting: `fade-y fade-always max-md:fade-auto-y` is automatic below `md` and forced at `md`. An unconditional `fade-auto-y` would continue to override the global mode.\n\nClass concatenation is not a merge strategy. Remove obsolete selectors or modes when replacing a component's configuration. Different simultaneously active conditions use CSS specificity, cascade layers, and Tailwind's variant order. Custom variants can change those factors; equivalent conditions written as different variant chains are not treated as one conflict group.\n\n## Scrollbars\n\nClassic scrollbars sit inside the scroll container's box, so the mask can fade their ends. Overlay scrollbars on macOS, iOS, and Android paint above the mask and need no change.\n\nIf you can hide the scrollbar, use `scrollbar-none` or `scrollbar-width: none`. To keep a classic scrollbar visible, add a `fade-scrollbar-safe-*` class for the scroll axis:\n\n| Utility | Effect |\n| --- | --- |\n| `fade-scrollbar-safe-y` | shields the vertical bar |\n| `fade-scrollbar-safe-x` | shields the horizontal bar |\n| `fade-scrollbar-safe-xy` | shields both bars |\n| `fade-scrollbar-width-sm\\|md\\|lg` | sets `11px`, `15px` (default), or `17px` |\n\nChoose the suffix from the scroll axis. Use `-y` with `overflow-y` and `-x` with `overflow-x`:\n\n```html\n<div class=\"overflow-y-auto fade-y fade-scrollbar-safe-y\">...</div>\n```\n\nThe wrong suffix can place the opaque shield over content.\n\n`fade-scrollbar-width-*` sets an opted-in scroller's width and inherits, so you can place it on the scroller or an ancestor. It does not enable protection by itself:\n\n```html\n<body class=\"fade-scrollbar-width-lg\">\n  <!-- protected descendants use 17px bars -->\n</body>\n```\n\nOverride named widths through the `--fade-scrollbar-width-*` theme tokens. The source path accepts lengths such as `fade-scrollbar-width-[13px]`; bare integers do not compile. The plugin clamps negative widths to `0px`.\n\nIn Blink and WebKit, the safe utilities pin the scrollbar width and add a mask strip of the same size. The pin applies to the element, so both scrollbar axes become classic, including on macOS. The vertical strip follows the bar under RTL.\n\nUse `--tw-fade-scrollbar-width` for a custom width and `--tw-fade-scrollbar-thumb` for the thumb color:\n\n```html\n<div class=\"fade-y fade-scrollbar-safe-y overflow-y-auto\" style=\"--tw-fade-scrollbar-thumb: #888\">...</div>\n```\n\nDo not combine a safe utility with `scrollbar-width`, `scrollbar-color`, or Tailwind's `scrollbar-thin`, `scrollbar-auto`, `scrollbar-none`, `scrollbar-thumb-*`, and `scrollbar-track-*` utilities. Both properties cancel the pin in Blink; `scrollbar-width` also cancels it in WebKit. The mask strip remains in place. Use `fade-scrollbar-width-*` for size and `::-webkit-scrollbar-track` or `::-webkit-scrollbar-thumb` for colors.\n\n### Limits\n\n- Firefox ignores `::-webkit-scrollbar`, so the safe utilities cannot shield its bars.\n- Safari can place the vertical shield over content when `overflow-y-auto` has no vertical overflow. Use `overflow-y-scroll` or add `fade-scrollbar-safe-y` when vertical overflow exists.\n- The safe utilities require scroll-driven animations. They leave native scrollbars unchanged in Safari 17.x, Safari 18.x, and Firefox release.\n\n## Fading The Whole Page\n\nFade the element that scrolls. For a full-page fade, make `<body>` the scroll container and keep the surface behind it on `<html>`.\n\n```html\n<html class=\"h-full overflow-hidden bg-neutral-950\">\n  <body class=\"fade-y h-full overflow-y-auto bg-transparent\">\n    ...\n  </body>\n</html>\n```\n\n1. `<body>` must have a fixed height and `overflow-y-auto`, otherwise the viewport scrolls instead.\n2. The scroll container should be transparent if you want the mask to reveal the page surface behind it.\n\n## Source Path Vs. Prebuilt\n\n| | `@import \"tw-fade\"` | `tw-fade/css` |\n| --- | --- | --- |\n| Needs Tailwind v4 | yes | no |\n| Opacity and blur selectors | yes | yes |\n| Named blur strengths | yes | yes |\n| Both activation families, at every scope | yes | yes |\n| Named size/travel/clear utilities | yes | yes |\n| `fade-scrollbar-safe-*` and named `fade-scrollbar-width-*` | yes | yes |\n| `fade-clear-*-var` | yes | yes |\n| Structural `fade-blur-frame` | yes, unprefixed | yes, unprefixed |\n| Structural `fade-blur-layer` marker | yes, unprefixed | yes, unprefixed |\n| Responsive and state variants | yes, using the app's theme | no |\n| Arbitrary values like `fade-size-[6rem]` | yes | no |\n| Integer clear values like `fade-clear-top-14` | yes | no |\n\nThe package build generates the prebuilt file from an explicit safelist. It excludes Tailwind Preflight, core Tailwind utilities, prefixed variants, arbitrary values, and integer `fade-clear-*` classes. Neither distribution provides arbitrary blur-radius utilities. When classes are built dynamically, include the complete names in Tailwind's scanned source or safelist.\n\n## Exports\n\n| Specifier | Resolves to |\n| --- | --- |\n| `tw-fade` | `./src/tw-fade.css` |\n| `tw-fade/css` | `./dist/tw-fade.css` |\n| `tw-fade/dist/tw-fade.css` | `./dist/tw-fade.css` |\n\n`tailwindcss >=4.0.0` is an optional peer dependency. You need it for the source path, but not for the prebuilt CSS.\n\n## How It Works\n\nEach effect host uses one shared four-slot animation list for raw scroll progress. Unselected edges have empty slots. Its opacity and blur amounts resolve independently from that progress, their selections, and their activation settings. For a selected edge, `auto` uses scroll progress, `always` uses the full amount, and `none` uses zero. Plain fades use `scroll(self y)` and `scroll(self inline)`. Frames use named timelines from their first child, isolated by `timeline-scope`. The `:dir()` selector routes horizontal start and end.\n\nOpacity uses four gradient mask layers and two dormant scrollbar-shield strips. With a frame, this mask belongs to the scrolling child. Blur layers are siblings of that child, anchored to its bounds. The frame itself stays unmasked so the blur can sample the visible background. Missing blur capabilities leave opacity fading available and omit blur.\n\nRaw progress normally stays at `0` when its axis cannot scroll. Forced modes do not change raw progress. Without scroll-driven animations, selected automatic opacity fades use the static full amount; disabled fades stay disabled. Blur remains unavailable even with `fade-blur-always`.\n\nEffect selections and mode settings are local to each scroller. A nested scroller does not inherit the parent's activation or strength class. Theme tokens can inherit. Ancestor masks, opacity, and filters still affect the composed result; a child effect cannot undo them. An authored mask or `::after` on the same host can conflict with the plugin's rendering.\n\n### Dynamic content on a stable scrollport\n\nWebKit can retain a stale fade when a mounted scrollport swaps long content for short content. The common case starts with the scroll position at the end. Try these fixes in order:\n\n1. Upgrade to the latest `tw-fade`.\n2. Remount or key the scrollport by content identity.\n3. Restart the fade animation after the content swap.\n4. Add `fade-none-y` or `fade-none-x` when your app knows that axis cannot overflow. For blur, use `fade-blur-none-y` or `fade-blur-none-x`. An element using both effects needs both disable controls for that axis.\n\n```tsx\n<div key={activeTabId} className=\"fade-y overflow-y-auto\">\n  {items.map((item) => (\n    <ListItem key={item.id} item={item} />\n  ))}\n</div>\n```\n\nUse this helper after the DOM update when remounting would discard useful element state:\n\n```js\nfunction resetTwFade(el) {\n  const previous = el.style.animation\n  el.style.animation = 'none'\n  void el.offsetHeight\n  requestAnimationFrame(() => {\n    el.style.animation = previous\n  })\n}\n```\n\nThe helper restarts the shared raw animations for both effects. It does not change selections or activation modes. Browser invalidation can still leave stale state after a content swap; do not treat the helper as a guarantee in affected WebKit builds.\n\n### Public Properties\n\nTheme with `--fade-size-*`, `--fade-travel-*`, `--fade-clear-*`, `--fade-blur-sm/md/lg`, and `--fade-scrollbar-width-*`. Runtime clear-zone properties such as `--fade-clear-top` feed the matching `-var` utilities.\n\nThe three author properties are `--tw-fade-onset`, `--tw-fade-scrollbar-width`, and `--tw-fade-scrollbar-thumb`. Treat other `--tw-fade-*` properties as internal. Raw scroll progress and effective opacity/blur amounts have different meanings; neither is an author-facing activation control.\n\n## Accessibility\n\n`tw-fade` changes appearance without moving content or changing focus order. Masking and blur reduce readability near an edge, so use modest bands and clear zones around controls or critical text. Blur layers pass pointer events through. Empty progressive spans should use `aria-hidden=\"true\"`.\n\n## Browser Support\n\nOpacity requires CSS masking. Its animated path also uses scroll-driven animations, registered numeric custom properties, and `:dir()` routing. Without scroll timelines, static opacity fallback remains available, including when property registration is unavailable. Activation still applies: selected automatic or forced edges show a static fade, and disabled edges stay clear.\n\nBlur additionally requires backdrop filtering, anchor positioning and scope, and filtered `:nth-child()`. Syntax support alone does not prove that a browser renders blur correctly. `always` changes activation; it does not bypass the renderer's capability gate.\n\n| Requested effects | Blur unsupported or anchor ineligible | Scroll timelines unavailable |\n| --- | --- | --- |\n| Opacity only | Opacity fade remains | Static opacity fade |\n| Blur only | Unmodified content | Unmodified content |\n| Both | Opacity fade remains | Static opacity fade; no blur |\n\nEach effect's disable modes still apply in these fallback paths. A blur-only fallback never introduces an opacity fade. Transform, filter, or paint/layout containment on the scroller can make its anchor ineligible even when all required syntax is supported.\n\nNative Safari 18.6 passes checks for static opacity, disabled effects, and blur-only fallback. It lacks the features required for blur. Safari 26.2 on an iPhone 17 Pro simulator passes single and progressive blur pixel checks through both import paths, plus scroll endpoints, RTL routing, and a tap through the overlay. Physical iPhone rendering remains unverified. WebKit can retain scroll-state residue after content shrinks; this also reproduces in the simulator. See the [dynamic-content guidance](#dynamic-content-on-a-stable-scrollport).\n\nOlder WebKit may need `-webkit-mask-*`. Run the prebuilt CSS through Autoprefixer if you support it.\n\n## Migrating\n\nFor the draft blur API or overlapping activation modes, follow the [0.9.0 migration](./MIGRATING.md#migrating-to-090). Ordinary opacity-only usage keeps its names. Upgrading from `0.6.x` also requires the [existing rename procedure](./MIGRATING.md#migrating-from-tw-fade-06x-to-07) and RTL checks.\n\n## Development\n\n```bash\nnpm test\nnpm run build\nnpm run build:demo\nnpm run verify\n```\n","readmeFilename":"README.md"}