BackdropFilter
The base component for applying filters to backdrop content.| Name | Type | Description |
|---|---|---|
| filter | ReactElement | Image filter to apply |
| clip | ClipDef | Optional clipping region |
| children | ReactNode | Content to render on top |
BackdropBlur
Convenience component for backdrop blur effects.| Name | Type | Description |
|---|---|---|
| blur | number or Vector | Blur radius |
| clip | ClipDef | Optional clipping region |
| children | ReactNode | Content to render on top |
Clipping Regions
Backdrop filters can be clipped to specific regions:Rectangle Clip
Rounded Rectangle Clip
Path Clip
Frosted Glass Effect
Create iOS-style frosted glass panels:Advanced Backdrop Filters
You can use any image filter as a backdrop filter:Backdrop Color Filter
Combined Backdrop Filters
Blurred Card Stack
Create a stack of blurred cards:Performance Considerations
- Backdrop filters can be expensive, especially with large blur radii
- Use clipping to limit the area affected by the filter
- Smaller blur radii perform better
- Consider using backdrop filters sparingly in complex scenes
- On some platforms, backdrop filters may have limited support
Platform Support
- iOS: Full support
- Android: Full support
- Web: Supported via CanvasKit
Backdrop Blur vs Regular Blur
Backdrop Blur:- Blurs content already rendered behind an element
- Creates frosted glass effects
- Only affects backdrop, not the element itself
- Applied before rendering the element
- Blurs the element it’s applied to
- Affects the element’s rendered output
- Does not affect background content
- Applied after rendering the element
Related
- Image Filters - Apply filters to elements
- Blur - Blur image filter
- Color Filters - Color transformations
- Mask Filters - Edge effects