Introduction
Passing styles to components lets you change how they look without changing their code. It helps you reuse components with different colors, sizes, or fonts easily.
You want to reuse a button component but with different background colors.
You need to adjust the font size of a text component in different places.
You want to add margin or padding to a component without editing its internal styles.
You want to change the border style of a card component depending on the page.
You want to keep your components clean and style them from outside.