Introduction
Component variants let you group similar design elements into one component with different versions. This helps keep your design organized and makes switching between styles or states easy.
When you want to create buttons with different colors and sizes but keep them in one place.
When you need to show different states of a form input like normal, hover, and error.
When you want to manage icons that have multiple styles like filled and outlined.
When you want to quickly swap between different layouts of the same component.
When you want to reduce clutter by combining similar components into one.