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

웹 및 앱 개발

이 수치를 측정하는 방법

What you can do

  • 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.

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
+2
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

@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.

관련 프로젝트 살펴보기

불러오는 중…