# Simple block: Accordion https://www.sanity.io/learn/course/editorialized-ecommerce-experiences/simple-block-accordion.md null An "accordion" block is useful to display content such as frequently asked questions or terms and conditions. ## Prepare your content In the Studio, add an Accordion item with the following two groups to the Body field with the following text: ```text What's the best way to take care of Jesmonite? To clean any Jesmonite products, wipe down with a non-abrasive damp cloth. We coat our products with a waterproof sealant, but please do not leave Jesmonite to soak. ``` ```text Is Jesmonite safe to eat from? Whilst Jesmonite is a non-toxic, environmentally friendly material, we don’t recommend eating off the products, but can be used to serve dry things like nuts or whole fruit or to protect surfaces from hot pots & plates. ``` ## Prepare your front end Thankfully, HTML gives us details and summary tags to natively show and hide content. All we need to do is to render our Sanity content into the correct tags. Take note also in the component below how the imported `PortableText` component handles the array of objects that field creates, and renders HTML. 1. **Create** a new file to your Hydrogen project ```tsx:./app/components/AccordionBlock.tsx import {PortableText} from '@portabletext/react'; import type {Accordion} from '~/sanity/sanity.types'; export function AccordionBlock(props: Accordion) { return Array.isArray(props.groups) ? (