Skip to content
المشاريع

حول

A modern React Native blur view component that provides native blur effects for both iOS and Android platforms. also adds progressive blur and liquidGlass

تطوير الويب والتطبيقات

كيف تُقاس هذه الأرقام

ما يمكنك فعله

  • Six focused components for blur, vibrancy, progressive/gradient blur, liquid glass, and a blurred switch.
  • True native effects: UIVisualEffectView / UIGlassEffect on iOS. On Android 12 and later, each blur view blurs the views drawn behind it on the GPU. On Android 11 and earlier it blurs on the CPU with QmBlurView. Liquid glass runs as a GPU shader.
  • Web support out of the box (Expo Web / react-native-web) via CSS backdrop-filter, including a real progressive-blur ramp.
  • Native liquid glass on iOS 26+ and Android 13+, with automatic fallback to an enhanced blur on older iOS, older Android, and Web. isLiquidGlassAvailable() returns whether native glass renders.

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
+٢
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

@sbaiahmed1/react-native-blur

Native blur, vibrancy, and iOS 26 liquid-glass effects for React Native, on iOS, Android, and Web. Six focused components: BlurView, ProgressiveBlurView, VibrancyView, LiquidGlassView, LiquidGlassContainer, and BlurSwitch. Built for the New Architecture (Fabric).

npm version downloads per month license stars

New Architecture Liquid Glass

📖 Documentation

Full documentation, guides, and the complete API reference live on the docs site:

👉 https://sbaiahmed1.github.io/react-native-blur/docs

⚠️ New Architecture only (React Native 0.80+). The legacy architecture has not been supported since v5. See Migration & breaking changes.

Demo

iOS Demo Android Demo
iOS (left) and Android (right) blur effects in action

Features

  • Six focused components for blur, vibrancy, progressive/gradient blur, liquid glass, and a blurred switch.
  • True native effects: UIVisualEffectView / UIGlassEffect on iOS. On Android 12 and later, each blur view blurs the views drawn behind it on the GPU. On Android 11 and earlier it blurs on the CPU with QmBlurView. Liquid glass runs as a GPU shader.
  • Web support out of the box (Expo Web / react-native-web) via CSS backdrop-filter, including a real progressive-blur ramp.
  • Native liquid glass on iOS 26+ and Android 13+, with automatic fallback to an enhanced blur on older iOS, older Android, and Web. isLiquidGlassAvailable() returns whether native glass renders.
  • New Architecture (Fabric) components with full TypeScript types.

Requirements

Platform Minimum version
iOS 13.0+ (Xcode 16, and 26.0+ for liquid glass)
React Native 0.80+ (New Architecture required)
Android API 24+, AGP 8.9.1+ (API 33+ for liquid glass)
Web react-native-web (blur needs backdrop-filter)

Installation

yarn add @sbaiahmed1/react-native-blur
# then, for iOS:
cd ios && pod install

Requires React Native 0.80+ with the New Architecture enabled. Full setup notes: Installation docs.

Quick start

import { BlurView } from '@sbaiahmed1/react-native-blur';

<BlurView blurType="light" blurAmount={20} style={{ flex: 1 }}>
  <Text>Content on top of blur</Text>
</BlurView>;

Every component, prop, and platform note is documented on the docs site.

Contributing

See CONTRIBUTING.md. The documentation site lives in website/. When you change the public API, update the website in the same pull request.

License

MIT

Credits

Built with create-react-native-library. On Android 11 and earlier, and for BlurSwitch, blur is powered by QmBlurView. Android liquid glass uses the AndroidLiquidGlassView shader (both by QmDeve, MIT).

Powered by

JetBrains logo.

Tooling provided by JetBrains.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…