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

react-native-ios-glur-view

v0.3.0

Published

glur view for react native

Readme

react-native-ios-glur-view

IMPORTANT! -> COPY FILES IN ios/Glur/Sources/Glur/Resources/* TO MAIN PROJECT.

Progressive iOS blur (SwiftUI Glur) + system blur view for React Native (Fabric).

Installation

npm install react-native-ios-glur-view
# or
yarn add react-native-ios-glur-view

iOS setup

  1. Install pods in your app (or the example):
cd ios && pod install
  1. Rebuild the iOS app. This library is a Fabric component and relies on codegen.

Android setup

No manual steps. Rebuild the Android app if used in a monorepo to refresh codegen.

Usage

import React from 'react';
import { StyleSheet, View } from 'react-native';
import { IosGlurView } from 'react-native-ios-glur-view';

export default function Example() {
  return (
    <View style={styles.container}>
      <IosGlurView
        // Switch between SwiftUI Glur and system blur
        useGlur
        // Glur configuration
        glurRadius={25}
        glurOffset={0.3}
        glurInterpolation={0.35}
        glurDirection="down"
        glurNoise={0.01}
        glurDrawingGroup
        // Shared props
        tintOpacity={1}
        // Optional: render an image with Glur
        imageUri="https://images.unsplash.com/photo-1761438180295-9ea187978263?q=80&w=1964"
        style={styles.box}
      />
    </View>
  );
}

const styles = StyleSheet.create({
  container: { flex: 1, alignItems: 'center', justifyContent: 'center' },
  box: { width: '50%', height: '50%' },
});

Props

  • tintOpacity: number (0..1, default 1)
    • Opacity for the blur/tint layer.
  • useGlur: boolean (default false)
    • When true, uses SwiftUI Glur progressive blur. When false, uses system UIBlurEffect.
  • glurRadius: number (default 8.0)
    • Total radius when the effect is fully applied.
  • glurOffset: number (default 0.3)
    • Start of the effect relative to view size (0..1).
  • glurInterpolation: number (default 0.4)
    • Distance from offset to fully applied, relative to view size (0..1).
  • glurDirection: 'up' | 'down' | 'left' | 'right' (default 'down')
    • Direction the progressive blur travels.
  • glurNoise: number (default 0.1)
    • Amount of noise applied by Glur.
  • glurDrawingGroup: boolean (default true)
    • Whether to pre-render using SwiftUI drawingGroup() for performance.
  • imageUri: string (default empty)
    • Optional image URL or file path to render with Glur.

Regenerating codegen (only if contributing or after renaming)

This library is a Fabric view and uses RN codegen. If you modify names (e.g., component name) or the native/JS spec, regenerate and rebuild:

  • iOS: cd ios && pod install, then clean/rebuild in Xcode.
  • Android: clean Gradle build and rebuild.

Contributing

License

MIT


Made with create-react-native-library