How to make collapsible text?

Good afternoon, I can not find a function to make a collapsible text.

Example attached