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

A <LinearGradient /> component for react-native

Repository: https://github.com/react-native-linear-gradient/react-native-linear-gradient
Canonical: https://ross.abutalabs.com/products/react-native-linear-gradient
Homepage: https://www.npmjs.com/package/react-native-linear-gradient
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-02-20T18:46:02+00:00

## Health v2 (maintenance only)
Score: 71/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 68, release rhythm 58, longevity 100
- inputs: {"age_days": 4173, "days_push": 194, "days_rel": 203, "gap_med": 34.0, "n_releases_24m": 3}
- flags: prerelease_only
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4960, forks 705 (observed 2026-08-28T04:09:03.873199+00:00)

## What it is
A React Native component that renders linear gradient backgrounds with configurable colors, start/end points, and animation support. It is a widely used, MIT-licensed UI library for adding gradient effects to mobile apps.

## Use cases
- add a gradient background to a react native screen
- create gradient buttons in react native
- render horizontal or diagonal gradients on mobile
- animate gradient colors in a react native app
- apply gradient masks to text on iOS
- style react native login screens with gradients

## When to choose
- you are building a React Native app and need linear gradient backgrounds or overlays
- you want a mature, well-maintained gradient component with broad platform support
- you need animated or directional gradients in mobile UI

## When to avoid
- you are building a web-only app (use CSS gradients instead)
- you need radial or conic gradients rather than linear ones
- you are not using React Native

## Facets
- artifact type: library
- maturity: stable
- function: ui-components, animation
- domain: mobile-development, frontend, web-design
- platform: cross-platform
- tags: react-native, linear-gradient, gradients, styling, mobile, ios, android

## Member repositories
- react-native-linear-gradient/react-native-linear-gradient (main) score 71

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:03.873199+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:17:48.481106+00:00, confidence not recorded.
  - readme: https://github.com/react-native-linear-gradient/react-native-linear-gradient (fetched 2026-08-28T04:09:03.873199+00:00, sha 6cf959a70ccd)
  - registry_npm: https://registry.npmjs.org/react-native-linear-gradient (fetched 2026-08-29T08:59:28.418922+00:00, sha 4c6422746f26)
- Data as of 2026-08-30T08:39:29.467469+00:00.
