Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
universal-gradient-text
Advanced tools
A library for gradient texts that works on web and mobile universal RN apps.
Readme
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.
yarn add universal-gradient-text
In Expo apps, you will also need to add the following dependencies:
npx expo install expo-linear-gradient @react-native-masked-view/masked-view
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'
],
...
For instructions on how to use the library, see the docs website.
FAQs
A library for gradient texts that works on web and mobile universal RN apps.
The npm package universal-gradient-text receives a total of 134 weekly downloads. As such, universal-gradient-text popularity was classified as not popular.
We found that universal-gradient-text demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.