You can use this boolean attribute “hidden” to hide an element from displaying on to the webpage. This attribute can be removed by javascript during some action to display element back.
More about this attribute – w3schools.com
Turn your Figma design into a fast, production-ready frontend — in 2–5 days. Hire me on Upwork.
Blog
