This short Figma tutorial shows how to build a button component that changes from an outline (stroke only) to a filled, opaque state when the cursor hovers over it. It walks through setting up the hover and while-hovering states as an interactive prototype, aimed at beginners.
What you’ll learn
✓Build a button component with outline and filled states
✓Set up a hover state that switches the button from stroke to fill