Figma has an excellent attribute called edge smoothing, enabling you to produce spherical forms with smooth constant contours (squircles) in your layouts. You can currently bring those squircles to your applications with this collection.
Github repo: https://github.com/tienphaw/figma-squircle
So I was trying to find a means to execute squircles in a React Indigenous job I was dealing with, as well as I located this repo. This person determined all the mathematics in this post by the Figma group. I underwent the code as well as it was created for canvas. Fortunately, it had not been that tough to make it collaborate with SVG. I likewise understood that this can be utilized in various other systems too, not simply Respond Indigenous, so I developed this collection.
I do not have much experience with the internet, so I really did not make a web/React-specific collection. I did, nevertheless, created a little trial that you can have fun with right here https://figma-squircle.vercel.app/.
There’s likewise a collection for React Indigenous, you can have a look right here https://github.com/tienphaw/react-native-figma-squircle if you’re interested.