Any script to fold/unfold blocks of gui objects?

I want to create a Gui in my game, where I have several TextLabels which I would like to have a collapse/uncollapse effect, that is, something similar to what exists in Studio’s Explorer window:
Animação

Is there any script ready for this?