New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

universal-gradient-text

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

universal-gradient-text

A library for gradient texts that works on web and mobile universal RN apps.

  • 0.1.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
176
decreased by-25.11%
Maintainers
1
Weekly downloads
 
Created
Source

Universal Gradient Text 🌌

Simplest way to add gradient texts to universal React Native Projects

Banner

A universal text component with a gradient overlay that works on web and mobile. Under the hood, the library has dependencies on expo-linear-gradient & @react-native-masked-view/masked-view. As a result, you will need Expo Modules to be setup for bare RN projects. On web, gradient texts are done with CSS.

Installation

yarn add universal-gradient-text
Expo

In Expo apps, you will also need to add the following dependencies:

npx expo install expo-linear-gradient @react-native-masked-view/masked-view
NextJS

On Next, you will need to follow extra steps to transpile the library. Update your next.config.js:

...
transpilePackages: [
  ...
  'universal-gradient-text',
  'expo-linear-gradient',
  '@react-native-masked-view'
],
...

Usage

For instructions on how to use the library, see the docs website.

Keywords

FAQs

Package last updated on 11 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc