In this post, you will see a simple accordion. This accordion is small and not full width. By clicking on the title, its content will be displayed under the title. The important point in this accordion is to change the title of the accordion. Clicking on the accordion changes its title and displays its content at the same time. This accordion uses React.