You can use Builder CMS Data to create structured reusable data across your site. You can manage the data schema, add, and remove fields within the UI and teammates can create and remove data items in auto-generated structured forms.
This tutorial shows you how to add editable navigation links to your site header.
To follow along with this tutorial, you should have the following:
- a Builder account
- an app in the framework of your choice with the appropriate SDK installed
In the Builder UI, create a Data model so you can create navigation links.
- In the Models section of Builder, Click +Create Model.
- Select Data.
- Enter Nav link as the name for your new Data model.
- Click +New Field.
- Name the first field
labeland give it a type of
- Repeat steps 3 and 4 to make a second label named
- Click Save.
Use the new Data model to create Nav Link content entries.
- Go to the Content section of Builder.
- Click +New.
- Select Nav Link.
- Give it a label, url, and name.
- Click Publish.
To make more links so that you can iterate through the links in your nav list, click the three dots and select Duplicate. Repeat steps 2-4 for each link you create.
The video below shows how to make three Nav Link entries.
Go back to your website and refresh the page to see your nav links. After your links are rendering, try adding new content entries in Builder. For each new entry, the new link populates the nav.
For more information on how to work with Models in Builder, refer to Understanding Content Models.
For more examples of what you can do with Builder, check out the Blueprints, which cover varied use cases at a high-level with code examples.
Looking to hire a third party to help with your project?
Submit a project request and our partnerships team will reach out to connect you with an Expert from our partner ecosystem.