- Android
- iOS
- Web
Blur
Blur the backdrop or sample a specific native source view on Android.
Engine API NBlurnayan-ui/components
NBlur samples the backdrop automatically. On Android, use an NView ref with collapsable={false} to sample a specific native source.
Example.tsx
| Name | Type | Default | Details |
|---|---|---|---|
| blurTarget | RefObject<ReactNativeElement | null> | Optional | Optional Android source view. Pass a ref to an NView with collapsable={false} inside NPlatformView. |
| enabled | boolean | Optional | Disable the effect while keeping children visible. |
| intensity | number | Optional | Blur strength from 0 to 100. Defaults to 50. |
| material | "regular" | "ultraThin" | Optional | UIKit backdrop material. Other platforms use the configured radius and tint. |
| radius | number | Optional | Blur radius in logical points; overrides intensity (100 = 20 points). |
| tint | "default" | "light" | "dark" | Optional |