Fun interactivity using react-stars!

asherscott

Asher Scott

Posted on April 1, 2022

Fun interactivity using react-stars!

While working on my Phase-2 Flatiron Project, I stumbled upon this super useful react component called react-stars.

react-stars

This is an incredibly straightforward, flexible, and powerful component used for star rating systems. Check out the demo here!

Don't like boring old stars?

-stars allows you to completely customize the rating characters, using either:

A string;

different characters

Or an html element!

pixel star image

Don't be afraid to get creative with it!

gif image

But lest you think this can only be used for ratings...

Mini Games!

Here's a simple game I put together using react-stars

select the num

Checkout the github page for more information, including a README on how to begin using react-stars to take your react project to the new level!

๐Ÿ’– ๐Ÿ’ช ๐Ÿ™… ๐Ÿšฉ
asherscott
Asher Scott

Posted on April 1, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

ยฉ TheLazy.dev

About