Hi,
I have created a custom ui for a toggle switch but that also display a clickable link.
I use this to display and control services hosted on my server and that way I can access easily corresponding created websites.
I put the code and doc here :
Toggle with clickable url
So I thought I would share if that helps anyone else.
Cheers