React Native Liquid Glass brings the visual elegance of glassmorphism to your app's UI using Apple's UIGlassEffect for iOS 18 and above. Its plug-and-play integration and TypeScript support ensure ease of use while maintaining a lightweight structure. With a safe fallback for lower versions, this tool is designed to provide stunning aesthetics without sacrificing performance.
Enhance your user interface with React Native Liquid Glass, a cutting-edge component designed to bring a sophisticated glassmorphic look to mobile applications using Apple’s UIGlassEffect available in iOS 18 and above. With a user-friendly approach, this component is not only visually appealing but also simple to implement without the need for native configurations.
UIGlassEffect for authentic iOS-level transparency and blur, creating a visually stunning experience.<Pressable /> for Android and earlier iOS versions, ensuring compatibility without complex conditional logic.For optimal performance, particularly on iOS, it is advisable to maintain either the width or height of the LiquidGlassView below 65px. The UIGlassEffect can be resource-intensive, and smaller dimensions help in retaining smooth performance.
To get started, implement it in your project with a simple code snippet:
import { LiquidGlassView } from 'rn-liquid-glass-view';
<LiquidGlassView
style={{ width: 200, height: 61 }}
onPress={() => console.log('Tapped the glass!')}
/>
A brief look at what this component can achieve:
This repository welcomes contributions, with a detailed contributing guide available to assist in the development process.
No comments yet.
Sign in to be the first to comment.