# react-native-linear-gradient/react-native-linear-gradient

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/react-native-linear-gradient-react-native-linear-gradient).**

4,960 stars · 708 forks · TypeScript · MIT

## Links

- GitHub: https://github.com/react-native-linear-gradient/react-native-linear-gradient
- Homepage: https://www.npmjs.com/package/react-native-linear-gradient
- awesome-repositories: https://awesome-repositories.com/repository/react-native-linear-gradient-react-native-linear-gradient.md

## Description

react-native-linear-gradient is a cross-platform mobile UI component used to render linear color transitions and backgrounds. It provides a customizable view that creates smooth transitions between multiple colors along a straight line.

The project includes a text gradient mask, which allows text characters to be filled with color gradients using masking techniques rather than single solid colors. It also provides an animated gradient component capable of changing color properties over time to create moving visual effects.

The component handles linear gradient rendering via configurable start, end, or angle settings and supports animated gradient transitions to develop moving visual elements within a mobile interface.

## Tags

### Mobile Development

- [React Native Components](https://awesome-repositories.com/f/mobile-development/react-native-ecosystem/react-native-components.md) — Provides a specialized UI component for rendering linear gradients within the React Native mobile ecosystem.
- [Cross-Platform Gradient Components](https://awesome-repositories.com/f/mobile-development/cross-platform-gradient-components.md) — Provides a cross-platform mobile component for rendering linear color transitions and backgrounds.
- [Native View Integration](https://awesome-repositories.com/f/mobile-development/native-ios-applications/native-view-integration.md) — Integrates React components with platform-specific native views on iOS and Android for high-performance gradient rendering.

### Graphics & Multimedia

- [Gradient Renderers](https://awesome-repositories.com/f/graphics-multimedia/graphics-and-media/colors/gradient-renderers.md) — Implements rendering logic for smooth linear color transitions using configurable start, end, and angle settings. ([source](https://github.com/react-native-linear-gradient/react-native-linear-gradient/blob/master/README.md))

### Software Engineering & Architecture

- [Native OS Rendering](https://awesome-repositories.com/f/software-engineering-architecture/performance-reliability/performance-optimization/frontend-rendering-loading/rendering-optimizations/cross-platform-rendering/native-os-rendering.md) — Utilizes native OS drawing APIs like CAGradientLayer on iOS and GradientDrawable on Android to render transitions.

### User Interface & Experience

- [Linear Gradient Views](https://awesome-repositories.com/f/user-interface-experience/linear-gradient-views.md) — Offers a customizable view that creates smooth transitions between multiple colors along a straight line.
- [Gradient Utilities](https://awesome-repositories.com/f/user-interface-experience/gradient-utilities.md) — Provides tools for creating and animating smooth color transitions within a mobile user interface. ([source](https://github.com/react-native-linear-gradient/react-native-linear-gradient))
- [Text Gradients](https://awesome-repositories.com/f/user-interface-experience/gradient-utilities/text-gradients.md) — Applies smooth color transitions specifically across text characters using masking techniques.
- [Animated UI Components](https://awesome-repositories.com/f/user-interface-experience/ui-component-libraries/animated-ui-components.md) — Ships a UI element capable of changing color properties dynamically to create animated visual effects.
- [Gradient Text Masks](https://awesome-repositories.com/f/user-interface-experience/wireframing-component-frameworks/text-masking/gradient-text-masks.md) — Provides a masking technique to fill text characters with multi-color gradients instead of solid colors.

### Development Tools & Productivity

- [Interface Visual Effects](https://awesome-repositories.com/f/development-tools-productivity/interface-visual-effects.md) — Enables the creation of moving visual elements by animating gradient properties over time.
