Skip to content

MatthewSRC/native-springs-shaders

Repository files navigation

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

Shaders.Demo.mp4

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/shaders

iOS

Run pod install:

npx pod-install

Android

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:android

Requirements

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

About

Native Metal/OpenGL shader effects library for React Native and Expo apps

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors