$ show sbaiahmed1/react-native-blur
This repository is a React Native library providing native blur, vibrancy, and iOS 26+ liquid-glass effects for iOS, Android, and Web platforms. It implements six core components (BlurView, ProgressiveBlurView, VibrancyView, LiquidGlassView, LiquidGlassContainer, BlurSwitch) using React Native's New Architecture (Fabric) with platform-specific native implementations: UIVisualEffectView/UIGlassEffect on iOS, hardware-accelerated QmBlurView on Android, and CSS backdrop-filter on web. The library includes an example app demonstrating usage patterns and an Astro-based documentation site. A secondary spec-kit system provides internal development workflow guidelines but is not the primary product. The codebase exhibits strong cross-platform abstraction, graceful fallbacks, and maintainable native bridge patterns.
The LLM identified 2 files worth highlighting for reuse:
Calculates fallback colors for unsupported blur platforms (web/older devices) by tinting base colors based on blur intensity and type. Self-contained with only Platform dependency, demonstrating adaptive fallback strategy for UI effects. Extractable to any React Native project needing color manipulation for graceful degradation.
Generates CSS backdrop-filter strings from library props for web blur implementations. Maps blur types/intensities to appropriate CSS values, handling platform-specific cases like 'ultra-thin'. Isolated utility bridging native UI concepts to web standards, reusable in any web component requiring CSS blur effects.