npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, πŸ‘‹, I’m Ryan HefnerΒ  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you πŸ™

Β© 2026 – Pkg Stats / Ryan Hefner

expo-ios-visual-blur

v0.1.0

Published

🎨 Native iOS progressive blur for React Native (Expo) β€” smooth, customizable SwiftUI blur effects with directional gradients and easy integration. 🍎✨

Downloads

483

Readme

✨ Features

  • 🍎 Native SwiftUI implementation for performant and smooth blur effects on iOS
  • 🌈 Progressive variable blur with customizable max blur radius
  • πŸ”„ Directional blur gradients: blurred top to clear bottom or blurred bottom to clear top
  • 🎨 Supports start offset control for where blur begins vertically
  • βš™οΈ Dynamic, runtime-updatable blur parameters with seamless transitions
  • πŸ–ΌοΈ Can overlay on any React Native view with children support
  • 🚫 Safe area aware, or choose to ignore it for fullscreen effects
  • 🎭 Optional masking and flexible styling via React Native props
  • πŸ“± Exclusive iOS support using native UIVisualEffectView + CAFilter for advanced blur control

πŸš€ Installation

1. Add the package

npx expo install expo-ios-visual-blur

2. Install CocoaPods dependencies

cd ios && pod install

3. (Optional) Prebuild the iOS project if you use bare workflow or custom native code

npx expo prebuild --platform ios

4. Run your app

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.


πŸ“¦ Usage

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>
  );
}

βš™οΈ Props

| 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

| Platform | Support | | -------- | ---------------------------- | | iOS | βœ… Fully supported (SwiftUI) | | Android | ❌ Not supported | | Web | ❌ Not supported |


πŸ›  Built With

  • βš›οΈ React Native & Expo
  • 🍎 SwiftUI
  • πŸ§ͺ Native iOS UIVisualEffectView with custom CAFilter for variable blur

❀️ Contributing

Contributions, issues, and feature requests are welcome! Feel free to open a pull request or issue.


πŸ“„ License

MIT Β© rit3zh