At some point in every frontend project, this happens:

You build a button.
Then another one.
Then another… slightly different one.

Now you’ve got:


PrimaryButton
SecondaryButton
BigButton
BlueButton
SubmitButton


And suddenly your codebase feels messy.

The idea of reusable components sounds...