How to create radial gradient color

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

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

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