@native-springs/shaders
v0.2.0
Published
Native Springs Shaders
Maintainers
Readme
@native-springs/shaders
High-performance native shader effects for React Native and Expo. Transform your UI with GPU-accelerated visual effects including ripples, glitch distortions, liquid effects, aurora overlays, fireworks, and more.
https://github.com/user-attachments/assets/584ff7a4-4c98-472f-9ec0-1120a8b534e6
Features
- Native Performance: Metal (iOS) and OpenGL (Android) implementations
- 10 Visual Effects: 3 content shaders + 7 overlay effects, more to come in the near future
- TypeScript Support: Full type definitions included
- Expo Compatible: Works with managed and bare Expo projects
Effects
Shaders (transform content)
| Effect | Description | |--------|-------------| | RippleShader | Touch-responsive water ripples | | GlitchShader | Digital glitch effects | | LiquidDistortionShader | Liquid warping effects |
Overlays (layer on top)
| Effect | Description | |--------|-------------| | AuroraOverlay | Northern lights effect | | FireSparksOverlay | Fire particles | | FireworksOverlay | Firework explosions | | LightRayOverlay | Volumetric light rays | | LiquidMetalOverlay | Chrome metallic border | | NeonOverlay | Glowing neon border | | SparklesOverlay | Twinkling particles |
Installation
npm install @native-springs/shadersiOS
Run pod install:
npx pod-installAndroid
No additional configuration required.
Example App
Check out the example app for interactive demos of all effects with adjustable parameters.
cd example
npm install
npx expo run:ios # or run:androidRequirements
- Expo SDK 51+
- iOS 15.1+
- Android API 24+
License
MIT
Some effects may have different licenses. See the documentation for each effect for details.
