# Creating a table and placing it inside an accordion module

**URL:** https://community.prismic.io/t/creating-a-table-and-placing-it-inside-an-accordion-module/5619
**Category:** Developing with Prismic
**Created:** [June 4, 2021, 12:13pm UTC](https://community.prismic.io/t/creating-a-table-and-placing-it-inside-an-accordion-module/5619 "2021-06-04T12:13:11Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Pau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/pau/32/5422_2.png) [@Pau](https://community.prismic.io/u/Pau)
#### Post date: [June 7, 2021, 4:01pm UTC](https://community.prismic.io/t/creating-a-table-and-placing-it-inside-an-accordion-module/5619/2 "2021-06-07T16:01:53Z")

</div>

Hey @ryan.drohan, there are many ways to do this. Using Slices as you've done is the right way to start. Could you show me an example of how this looks like in your Custom Types? Also, if you have a visual example of the UI of your project, that'll help us better understand your use case!

> [@How to create a Table](https://community.prismic.io/t/how-to-create-a-table/5460):
>
> There are two ways to a table in Prismic: A. Slice with repeating fields B. Use a third-party service and embed the table in a field A. Slice with repeating fields 1. Create the Table Slice Create a Slice. You'll use the repeatable zone to represent the rows of a table. The number of text fields will represent the total number of columns in the table. Add a Title to the Non-repeatable zone, then add a Rich Text field to the repeatable zone for each column you wish the table to have. Here'…

---

_[View the full topic](https://community.prismic.io/t/creating-a-table-and-placing-it-inside-an-accordion-module/5619)._
