FAQ accordion web part on SharePoint

An FAQ accordion web part for SharePoint

You keep answering the same questions on the intranet. How do I book a room, how do I reset my password, when is payday. Put them in one place people can expand. Here is a web part for it.

FAQ accordion web part showing expandable questions and answers on SharePoint
Questions that expand to show the answer.

It reads a SharePoint list. The question is the Title, the answer is a note column FaqAnswer, and an optional text column FaqCategory shows a small tag next to each one. The Provision-IntranetLists.ps1 script creates the FAQ list.

FAQ Accordion property pane showing the FAQ list and layout
Point it at the FAQ list and pick a layout.

In the property pane you point it at the FAQ list and choose a layout. Each row becomes one item in the accordion that opens to show its answer. It runs on sample data until you turn that off.

The FAQ Accordion is part of my open source SPFx Intranet Suite, a set of web parts for a modern SharePoint intranet. Install the package once and it shows up in the toolbox under Intranet Suite.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.