Hi guys!
So my question is: How is it possible to build a header component with a nav component inside that I can just change according to the page?
I am building a site that is based on a larger Figma style guide. It also features a variety of different headers that all base on the same header component in Figma.
For example like this:
header variant 1: Logo+Nav+CTA+Contact
header variant 2: Logo+BackBtn
header variant 3: Logo+Nav+CTA
…
In Figma I can just switch elements inside of the component “on” or “off”. So all is inside of a single component. Also the Nav inside of the header component is another component allowing me to switch between different menus. So I can just choose from Landing Page menu to Career Page menu with a dropdown in Figma.
Now that I want to build this in Webflow my goal is of course to only build a single component for the header to avoid unnecessary clutter in my build.
I don’t want to have multiple components of my header like:
header_home
header_landingPage
header_careerPage
…
So far this is the only way I see to make it possible. Does anyone have an idea how to make it work?
Here is my site Read-Only: LINK
(how to share your site Read-Only link)