A button that disappears after pressed

I am wondering how to use Dash to display a button that disappears after it is pressed.

(In my attempt to implement this,) the callback function outputting this button would also take the button as an input, which is not possible!

Please advise, thanks a lot.

Hi @marsupialtail

In the callback the property n_clicks as input and hidden as output.

return True