@manish-sharma Thank you for the help so far. My concern is not about the design, but about the functionality.
Here’s my use case:
I have a blog template with dynamic fields like title, featured image, content section, author name, etc., all connected to a content model called “BlogPost Section.”
Currently, I’m adding the FAQ section as a raw HTML component, where I manually paste all the questions and answers. Instead, I’d like to make this section dynamic and customizable with a toggle/accordion format.
What I want to achieve:
Each FAQ should have a Question field and an Answer field.
The number of FAQs may vary for each blog post.
When I add this FAQ component in the blog layout, I want to map it to dynamic fields from my BlogPost Section content model.
My question: How can I create a field (or set of fields) for FAQs in my content model so that it supports multiple Q&A entries and can be dynamically attached to the blog article so that when i post a new blog, i can easily do it from CMS?
You can achieve this in Builder.io by using the List field type in your content model. A List allows you to define a set of subfields—for example, a Question field (Text) and an Answer field (Rich Text)—and then add multiple Q&A entries for each blog post. This way, each blog can have as many FAQs as needed.
Once your List field is set up, you can use data binding in your FAQ component to dynamically pull the Q&A entries from your blog’s content. This ensures that when you create or update a blog post in the CMS, the FAQ section automatically reflects the content without manually editing HTML.