Howto make a drawer with sub categories

I’m making and app where users can make infinity sub categories. I have seen som examples but with to much packets and code, but howto make it the right/simple way? Se the image example, I hope it is possible to make

No one have a link where there is an example?