loading...

Drawing Triangles in React Native

dani_akash_ profile image Dani Akash ๐Ÿงช๐Ÿ’ฅ Updated on ใƒป1 min read

React Native Triangle

I always come across a scenario where my UI needs a triangle view. Also I needed fine control over all aspects of the triangle view. Hence I built @react-native-toolkit/triangle view based on the well known CSS trick to create triangles on the web.

As my requirements grew, I was adding more features to the library and now it supports almost all possible triangles you need. Hence I'm open sourcing it today for general use.

I initially used react-native-triangle but it's configuration is fairly limited and I couldn't control many of the triangle properties. Hence this library became a necessity.

Also, I have started to work on open sourcing all the libraries I built for react native over the years for my personal projects. Will be slowly moving them over to React Native Toolkit. Stay tuned for future updates!

Posted on by:

dani_akash_ profile

Dani Akash ๐Ÿงช๐Ÿ’ฅ

@dani_akash_

A React Developer who builds open source libraries for fun. You might actually like them! ๐Ÿ˜‰

Discussion

pic
Editor guide