Since you are using Heroicons as your icons library, I have imported the PaperClipIcon from it and used it in place of the SVG within the option-container div.
Added a TILT interaction to PaperClipIcon when the user clicks on it and opens or closes it. WHY? To give interactive feedback to the user that the options have opened from clicking on PaperClipIcon.
The options close ONLY when the user clicks back on the PaperClipIcon. I have added an effect that closes the options whenever the user clicks anywhere outside as well.
I have added 2 and 3 to enhance the interactions. Hope you find it useful.
Added a few things -
PaperClipIcon
from it and used it in place of the SVG within theoption-container
div.I have added 2 and 3 to enhance the interactions. Hope you find it useful.