How do you create a table of content like this one?

I think that it will be this theme component:

6 Likes