Skip to content

xTeamStanly/react-triangles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-triangles

Simple triangle pattern example.

DEMO.

Tips

  • Customization ▶ Press the PAUSE key to toggle menu (only for desktop).
  • Save Image ▶ Right Click then Save As
  • Current settings are saved to localstorage

Preview

preview

Triangles properties

Prop Type Definition Default value
topcolor string Top gradient color. #221A33
botcolor string Bottom gradient color. #8A3D99
hue number Color hue variations 0.2
sat number Color saturation variations 0
val number Color value variations 0.15
countx number Number of horizontal triangles 10
county number Number of vertical triangles 10
equilateral boolean Should the triangles be equilateral? (Ignores countx!) 10

About

Simple triangle pattern example

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published