Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
react-native-ios-visual-effect-view
Advanced tools
A simple library to use UIVisualEffectView
in react-native
.
This library + documentation is currently not finished yet. For now, please browse through examples directory to get a rough idea on how to use this library. Jump to basic usage section for example code + gif.
The initial version of this library (i.e. version 0.x
) was made possible through a generous $3,750
sponsorship by natew + tamagui over the course of 4 months (from: 05/27/24
to 09/30/24
) 🐦✨
very special thanks to: junzhengca, brentvatne, expo, EvanBacon, corasan, lauridskern, and ronintechnologies for becoming a monthly sponsor and fobos531 for being a one time sponsor 🥺 (if you have the means to do so, please considering sponsoring here)
https://github.com/user-attachments/assets/74bf8afa-91ed-49d8-80aa-a17b8e7969b0
UIVisualEffectView
+ all the system UIBlurEffectStyles
.Note: Support for the new architecture (fabric), and backwards compatibility for the old architecture (paper) is handled via a peer dependency to react-native-ios-utilites@v5
.
# 1. install library + dependencies
npm install react-native-ios-visual-effect-view@next
npm install react-native-ios-utilities@next
# 2. then run pod install (uses auto-linking)
cd ios && pod install
This library has cocoapods dependency to VisualEffectBlurView
and DGSwiftUtilities
, so you may need to update them separately (as needed).
# A. Either update this specific pod...
pod update VisualEffectBlurView DGSwiftUtilities
pod install --repo-update
# B. Or update all the pods
pod update
hello! please see RNIBlurViewBasicUsage01
for the full example
// 📝 Note: for the sake of brevity, some of the code is omitted...
import { RNIBlurView } from 'react-native-ios-visual-effect-view';
export function RNIBlurViewBasicUsage01() {
return (
<View style={styles.container}>
<Text style={styles.label}>
{'❤️\n🧡\n💛\n💚\n💙\n💜\n💖\n💃\n✨'}
</Text>
<RNIBlurView
style={styles.effectOverlay}
blurMode={{
mode: 'blurEffectSystem',
blurEffectStyle: 'prominent',
}}
animationConfig={{
duration: 1,
mode: 'presetCurve',
curve: 'easeOut',
}}
animationDelay={1}
/>
</View>
);
}
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library
FAQs
TBA
The npm package react-native-ios-visual-effect-view receives a total of 7 weekly downloads. As such, react-native-ios-visual-effect-view popularity was classified as not popular.
We found that react-native-ios-visual-effect-view demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.