--- myst: html_meta: "description": "" "property=og:description": "" "property=og:title": "" "keywords": "" --- (volto-custom-addon2-label)= # Extending Volto With a FAQ Block Type ````{sidebar} Plone Frontend Chapter ```{figure} _static/plone-training-logo-for-frontend.svg :alt: Plone frontend :class: logo ``` Creating a new block type ```` We want to provide some information for speakers of the conference: Which topics are possible? What do I have to consider speaking at an online conference? FAQ section would come in handy. This could be done by creating a block type that offers a form for question and answer pairs and displays an accordion. Let's start with our fresh add-on we created in the last chapter {doc}`volto_custom_addon`. ```{figure} _static/volto_addon_accordion_display.png :alt: Volto add-on volto-accordion-block ``` ```{figure} _static/volto_addon_accordion_sidebar.png :alt: Editing Volto add-on volto-accordion-block ``` We need a view and an edit form for the block. Create a {file}`src/FAQ/BlockView.jsx` and {file}`src/FAQ/BlockEdit.jsx`. The BlockView is a simple function component that displays a FAQ component with the data stored on the block. ```{code-block} jsx :linenos: import React from 'react'; import FAQ from './FAQ'; const View = ({ data }) => { return (