npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@symbiot.dev/expo-animated-linear-gradient

v1.1.1

Published

A lightweight, animated linear gradient component built on top of expo-linear-gradient for React Native and Expo.

Downloads

29

Readme

A lightweight and flexible animated linear gradient component for React Native and Expo, compatible with iOS, Android, and Web. Built on top of expo-linear-gradient, this component provides smooth and customizable animated transitions, perfect for enhancing UI with modern, visually appealing gradient effects.


📱 Demo


Key Features

🌈 Smooth Animated Gradients – Create eye-catching linear gradients with seamless animated transitions to enhance visual appeal.

🎨 Customizable Colors and Directions – Fully control gradient colors, animation duration and direction.

🧠 Minimal and Efficient – Built on top of expo-linear-gradient with zero native linking and minimal overhead.

🔧 Expo-First Integration – No extra setup needed in managed Expo projects — just install and go.

🚀 Cross-Platform Compatibility – Works flawlessly with:

  • React Native CLI
  • Expo
  • Expo Go
  • React Native Web for full browser support

👩🏿‍💻 Installation

npm install @symbiot.dev/expo-animated-linear-gradient expo-linear-gradient
# or
yarn add @symbiot.dev/expo-animated-linear-gradient expo-linear-gradient

🚀 Usage

AnimatedLinearGradient

| Prop | Type | Default | Description | |----------------|-----------------------|----------|-----------------------------------------------------------------| | colors | string[] | — | Array of colors used in the gradient animation. | | duration | number | 300 | Duration (in ms) between colors changes. | | webDirection | string | '0deg' | CSS direction for gradients on the web in deg. | | ... | LinearGradientProps | — | Inherits all props from expo-linear-gradient except colors. |

✨ Example

import { AnimatedLinearGradient } from '@symbiot.dev/expo-animated-linear-gradient';
// ... other deps

const blackWhite = {
  dark: ['#000000', '#000000', '#000000'],
  light: ['#FFFFFF', '#FFFFFF', '#FFFFFF']
};

export default function App() {
  const [colors, setColors] = useState(blackWhite.dark);

  return (
    <AnimatedLinearGradient
      colors={colors}
      style={StyleSheet.absoluteFillObject}
    >
      <Pressable onPress={() => setColors(blackWhite.light)}>
        <Text>Press me</Text>
      </Pressable>
    </AnimatedLinearGradient>
  );
}

AnimatedSchemedLinearGradient

| Prop | Type | Default | Description | |----------------|----------------------------|-----------|-----------------------------------------------------------------| | colors | Record<Scheme, string[]> | — | Object with light and dark color arrays. | | duration | number | 300 | Duration (in ms) of each gradient transition cycle. | | webDirection | string | '0deg' | CSS direction for gradients on the web in deg. | | scheme | 'light' | 'dark' | 'light' | Determines which color scheme to use. | | ... | LinearGradientProps | — | Inherits all props from expo-linear-gradient except colors. |

✨ Example

import { AnimatedSchemedLinearGradient } from '@symbiot.dev/expo-animated-linear-gradient';
// ... other deps


const blackWhite = {
  dark: ['#000000', '#000000', '#000000'],
  light: ['#FFFFFF', '#FFFFFF', '#FFFFFF']
};

const colorful = {
  dark: ['#063D60', '#1E6D51', '#2B4669'],
  light: ['#E6F8FA', '#E8F5E9', '#F9F2FF']
};

export default function App() {
  const [colors, setColors] = useState(blackWhite);

  return (
    <AnimatedSchemedLinearGradient
      colors={colors}
      style={StyleSheet.absoluteFillObject}
    >
      <Pressable onPress={() => setColors(colorful)}>
        <Text>Press me</Text>
      </Pressable>
    </AnimatedSchemedLinearGradient>
  );
}

🌐 Platform Support

  • ✅ iOS
  • ✅ Android
  • ✅ Web
  • ✅ Expo & Expo Go

📦 Bundle Size

Lightweight and fast — see actual size on Bundlephobia.


💬 Contributing

Contributions welcome! Feel free to open issues, discussions, or suggestions.


🌟 Who's Using This?

Using expo-animated-linear-gradient in your app or product?
Feel free to share your project — it might be featured in this section!

✉️ Open pull request, or reach out directly to get included.


🚀 Got Ideas or Gaps to Fill?

Know of existing libraries or functionality that could be improved?
Have an idea for something completely new?

Symbiot is ready to take on the challenge — feedback, feature requests, or collaboration ideas are always welcome!

🧠 Let’s build better tools together. Start the conversation or contact via email.


🧾 License

MIT — Made with ❤️ by Symbiot