Accordion list in Ionic? Or something similar?


#1

Hi everybody,

Is there an accordion like component in Ionic? Or how would you guys tackle that?

Cheers!


#2

Hi @JensOlleOlsson!

I have used the expansion panel from Angular Material and it works well with Ionic 4: https://material.angular.io/components/expansion/overview

You have to install @angular/material and then import MatExpansionModule on all the pages where you want to use it: https://material.angular.io/guide/getting-started

Best,
Rodrigo


#3

Hi Rodrigo,

I actually stumbled across that yesterday! The components there is so sweet. I’m using the expansion panel.
Thank you for your time, man.

All the best,
Olle


#4

I’m glad you found the same answer! :smile:

Best,
Rodrigo