mediumStudy question · answer published in Figma interview questions, so no pointsdesign-systemsfigma-componentscomponent-properties
Counting button variants
A Button component set has Type (primary, secondary, tertiary, danger), Size (small, medium, large), State (default, hover, pressed, focus, disabled) and Icon (yes, no) as variant properties. How many variants is that, and how many if Icon becomes a boolean property instead?
Discussion 0
Join free to post in the discussion.
Related questions
- Editing a main componentUI/UX Designer
- What detaching an instance doesUI/UX Designer
- Showing or hiding an icon in a componentUI/UX Designer
- Editable button label in the panelUI/UX Designer
- Choosing which icon a button showsUI/UX Designer
- Hug contents in auto layoutUI/UX Designer
- Atomic design levelsUI/UX Designer
- Slashes in component namesUI/UX Designer