how to display a grid or accordion on my frontpage

I would like to know if you could help me finding the code that renders the categories like in the plugins landing page. I would like to use the same display of the websites categories as grid or accordion on my websites frontpage. Hope you can help.
Thanks & Regards