Simple custom dropdown settings

Hei guys
I want to ask back something that should be easy to do but I m not able to do it.

I would love to do something like that:

Step 1:)

Step 2)

Do you have any idea?

Just use a group, not visible, and set to collapse when hidden. Then make it visible when the down icon is clicked.

Thanks @adamhholmes
How do i collapse again when somebody will click again on the down icon?

Just do the same thing in reverse (i.e. hide the group)

I’d use a custom state to handle the group visibility rather than using show/hide actions…