There's a right way and a wrong way to use variants in @figmadesign.
When used correctly, they can be the most powerful part of your entire workflow.
These are the 5 steps I do for every single component I create 👇
01 — Create a "base" component
This will function as the single source of truth for all of your variants. So include everything you think you'll need.
I like to follow this naming format 👇
".base—[ComponentName]"
(using a . in front of the name hides it from your libraries)
02 — Duplicate your .base component 2x
Careful... don't duplicate it once, and then duplicate that new instance the 2nd time.
Both instances must come directly from the .base component to preserve all of your overrides when you switch between variants in the future.
03 — Create new main components out of your two instances
If you know what your variant names will be you can go ahead and change them now.
For web projects, I'm almost always starting with "Default" and "Hover".
04 — Select your two new main components and hit "combine as variants" in the right panel
At this point you can make your style overrides too!
Notice how I'm hiding/showing the button and icon depending on the state? This is why you include everything you need in your .base 👍
05 — Now you can create the rest of your states like normal and all new variants will be tied back to the original .base component without you having to do a thing 👏👏👏
Two benefits to tying everything back to the .base—Component 👇
First = one source of truth.
Let's say I want to update the spacing or add an element to my lesson cards. Now I have a single knob to turn and my changes reflect across every state of the component all at once.
Second = preserving overrides
Have you ever switched between variants and all of your text or color overrides disappeared? It's the worst, I know.
Using a .base component that lives outside of your variants list ensures that never happens again 👍
If you enjoyed this and want to take more deep dives into Figma make sure you get on the list for @figmaacademy👇
I like to think of portfolio projects as a recipe video you'd see online🥙
It starts with a beautiful visual of the finished plate to draw people in.
And then 95% of the video documents how you make the dish from scratch.
Here's a list of questions to help fill in that 95%👇
There's been a lot of Q&A around portfolio pieces in @shiftnudge recently. So I decided to compile some question prompts into a bit of a list.
Not every project produces answers to all of these questions. But hopefully, these spark some ideas of your own.
Let's take a look 👇
TEAM/PROJECT INFO
Who was the project for?
What was your role on the team?
What were you directly responsible for?
How did you collaborate with other team members?
What business context is needed to understand the project?