How to create radial gradient color


#1

Hello. How can i create radial gradient colour. I can create linear but can’t cereat radial. Please help me.


#2

Hey @smartvocabulary,

SVG is part of the Expo SDK so you could use that to create a radial gradient: https://github.com/react-native-community/react-native-svg/blob/master/elements/RadialGradient.js
https://docs.expo.io/versions/v29.0.0/sdk/svg

If you detach (or are detached) there are is a third party solution like this one: https://github.com/surajitsarkar19/react-native-radial-gradient

Cheers,

Adam


closed #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.