Skip to main content
The Stac BoxShadow class creates shadow effects for containers and other widgets. Multiple shadows can be combined for complex effects.

Properties

Example

Shadow with Opacity

For semi-transparent shadows, use color with alpha:

Multiple Shadows

Combine multiple shadows for depth effects:

Colored Shadows

Elevation Levels

Common elevation patterns based on Material Design: