Variants
Variants are named versions of one component, such as primary, secondary and ghost buttons, chosen through a prop.
Definition
Variants are named versions of one component, such as primary, secondary and ghost buttons, chosen through a prop.
Use case
They keep the whole family of buttons in one place instead of five separate components.
In Figma
Variants
Related terms
Resources
No resources yet. Suggest one.