
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
expo-ios-visual-blur
Advanced tools
๐จ Native iOS progressive blur for React Native (Expo) โ smooth, customizable SwiftUI blur effects with directional gradients and easy integration. ๐โจ
Native SwiftUI progressive blur for React Native (Expo) on iOS โ dynamic, smooth, and configurable.
npx expo install expo-ios-visual-blur
cd ios && pod install
npx expo prebuild --platform ios
pnpm ios
# or
npx expo run:ios
โ ๏ธ Note: This module uses SwiftUI and iOS-only native APIs โ it does not support Android or other platforms.
import React from "react";
import { BlurView, BlurViewDirection } from "expo-ios-visual-blur";
import { Image } from "react-native";
export default function App() {
return (
<BlurView
direction={BlurViewDirection.BlurredBottomClearTop}
maxBlurRadius={21}
startOffset={0.1}
style={{ borderRadius: 10, overflow: "hidden" }}
>
<Image
source={{
uri: "https://images.unsplash.com/photo-1754638069174-7aa06c176b61?q=80&w=1364&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
}}
style={{ width: 200, height: 200 }}
/>
</BlurView>
);
}
| Prop | Type | Default | Description |
|---|---|---|---|
maxBlurRadius | number | 20 | Maximum blur radius applied to the view |
direction | BlurViewDirection | "blurredTopClearBottom" | Direction of the blur gradient โ from top to bottom or bottom to top |
startOffset | number (0 to 1) | 0 | Starting point of the blur gradient (relative vertical offset) |
style | ViewStyle | undefined | Custom styles applied to the container view |
children | React.ReactNode | undefined | React Native children to render inside the blur |
BlurViewDirection Enum| Direction | Description |
|---|---|
BlurredTopClearBottom | Blur fades from top to bottom |
BlurredBottomClearTop | Blur fades from bottom to top |
| Platform | Support |
|---|---|
| iOS | โ Fully supported (SwiftUI) |
| Android | โ Not supported |
| Web | โ Not supported |
UIVisualEffectView with custom CAFilter for variable blurContributions, issues, and feature requests are welcome! Feel free to open a pull request or issue.
MIT ยฉ rit3zh
FAQs
๐จ Native iOS progressive blur for React Native (Expo) โ smooth, customizable SwiftUI blur effects with directional gradients and easy integration. ๐โจ
The npm package expo-ios-visual-blur receives a total of 103 weekly downloads. As such, expo-ios-visual-blur popularity was classified as not popular.
We found that expo-ios-visual-blur demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.ย It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASPโs 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.