How to create reusable custom accordion in Angular First create a folder name accordion with three files (accordian.component.ts, accordian.component.html and accordian.component.css) files code is given below. I am passing a data from app.component.ts to accordian.component.ts.I am passing data from parent…