Skip to content
  • Android
  • iOS
  • Web

Blur

Blur the backdrop or sample a specific native source view on Android.

Engine API NBlurnayan-ui/components

Live examples

NBlur samples the backdrop automatically. On Android, use an NView ref with collapsable={false} to sample a specific native source.

Example.tsx
Colour and texture
Sharp foreground

Attributes

NBlur attributes
NameTypeDefaultDetails
blurTargetRefObject<ReactNativeElement | null>OptionalOptional Android source view. Pass a ref to an NView with collapsable={false} inside NPlatformView.
enabledbooleanOptionalDisable the effect while keeping children visible.
intensitynumberOptionalBlur strength from 0 to 100. Defaults to 50.
material"regular" | "ultraThin"OptionalUIKit backdrop material. Other platforms use the configured radius and tint.
radiusnumberOptionalBlur radius in logical points; overrides intensity (100 = 20 points).
tint"default" | "light" | "dark"Optional

Tags