2
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill fusengine/agents --skill tailwindcss-effects- SKILL.md10.2 KB
Overview
This skill provides a comprehensive set of Tailwind CSS v4.1 effects utilities for shadows, opacity, filters, backdrop filters, and masks. It adds new features like colored shadows, inset shadows, and mask utilities while keeping the Tailwind utility-first approach. Use it to rapidly prototype visual depth, glassmorphism, image masks, and responsive visual effects.
How this skill works
The utilities map directly to CSS box-shadow, filter, backdrop-filter, mask-image, and opacity properties, with presets and support for arbitrary values. New classes include shadow-color variants, inset-shadow-*, and mask-* utilities; filters cover blur, brightness, contrast, grayscale, sepia, hue-rotate, invert, and saturate. These classes combine with responsive and dark-mode prefixes and can be composed into custom @utility rules for reuse.
When to use it
- Add elevation and depth to UI components with lightweight utility classes.
- Create frosted glass or frosted-backdrop interfaces using backdrop-blur and backdrop-brightness.
- Apply image fade-outs and shapes using mask-image, position, size, and repeat utilities.
- Tune visual emphasis with opacity, colored shadows, and combined filter effects.
- Optimize cross-device visuals with responsive effect classes and dark-mode variants.
Best practices
- Use backdrop-blur sparingly; it can be costly on low-end devices and mobile browsers.
- Prefer opacity utilities instead of rgba where possible for consistent rendering and simpler classes.
- Combine related utilities into custom @utility rules to reduce long class lists and improve maintainability.
- Use inset-shadow when you need inner depth instead of stacking multiple box-shadows.
- Test effects in dark mode and at different breakpoints to ensure legibility and expected contrast.
Example use cases
- Modal with frosted backdrop: fixed inset overlay + backdrop-blur and backdrop-brightness for glassmorphism.
- Card elevation: rounded card with shadow-lg and shadow-color tint for subtle colored shadows.
- Image fade: mask-linear with mask-position-bottom to create a fading image footer effect.
- Pressed UI: inset-shadow combined with grayscale or opacity for pressed/disabled states.
- Responsive blur: blur-sm on mobile, md:blur-md on tablet, lg:blur-lg on desktop for progressive detail.
FAQ
Backdrop filters are supported in modern browsers but have varied support; test on target browsers and provide fallbacks for older engines.
Can I use arbitrary values for shadows and masks?
Yes. The utilities support arbitrary values for shadow, blur, mask-size, and other properties using bracket notation like shadow-[0_4px_12px_rgba(0,0,0,0.3)].