tailwindcss-fade: A Tailwind plugin for adding gradient edge fades using CSS masks.
Features:
π― Apply fades to individual edges or all sides at once
π¨ Control fade intensity separately for each edge
π Rotate the fade mask for diagonal effects
β‘ Built-in animation support with transition-fade utility
π Works with arbitrary values for precise control
π§ Zero config needed after installation
Works with both Tailwind v3 and v4. Clean syntax that fits right into your existing utility workflow.
Useful for image galleries, scrollable containers, or any UI where you need polished edge transitions.
π Blog Post
π GitHub Repo
π Live Demo
Top comments (0)