drop-shadow
Utilities for painting shape-following alpha-silhouette shadows behind irregular widgets and vector SVGs.
ISS preview

Examples
Section titled “Examples”use iss::{svg_tw, tw};
let icon = svg_tw(scene, tw!("size-10 fill-blue-500 drop-shadow-md drop-shadow-blue-500/40"));use iss::typed::*;
let style = IssStyle::new().size(10).fill(palette::BLUE_500).drop_shadow_md().drop_shadow_color(palette::BLUE_500.alpha(0.4));Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
drop-shadow-xs / sm / md / lg / xl / 2xl |
Tailwind v4 drop-shadow presets; |
.drop_shadow_md() |
drop-shadow-none / initial |
Clear drop shadow; |
.drop_shadow_none() |
drop-shadow-sky-500/50 |
Colored + alpha drop shadow; |
.drop_shadow_color(palette::SKY_500.alpha(0.5)) |
drop-shadow-[0_4px_12px_rgba(37,99,235,0.45)] |
Arbitrary custom drop shadow; |
.drop_shadow_custom(0.0, 4.0, 12.0, palette::BLUE_600.alpha(0.45)) |
Behavior Notes
Section titled “Behavior Notes”- Unlike
box-shadow,drop-shadow-*follows the alpha silhouette of transparent icons and SVGs.
Related Utilities
Section titled “Related Utilities”box-shadow · blur · fill