Radiobutton

How to make following button.

image

I know this is a radio button, but I don’t know how to create this button.

Looks like a toggle to me.

Thank you. @rapropos