Now we're ready to build the menu that is revealed onClick. We already have all of the pieces so it's as simple as assembling our legos into an auto layout and overriding the text/icons.
We can easily adjust the spacing as we add more types 💪
04 // `QuestionsHeader` component
This is the final component that I'll use in the designs.
There are two states: 1) Default 2) Expanded (and I'm using interactive components to switch between them).
Note the fixed width of the component even in the expanded state!
If you like getting into the nitty gritty of building in Figma make sure you're on the list for @figmaacademy 😇
1. I'm can nest interactions like hover states 2. I can make a single change at any level of the hierarchy and it populates everywhere 3. My end component is really simple! Only an open and closed state (which will match a code)
• • •
Missing some Tweet in this thread? You can try to
force a refresh