Toggles

Checkbox
Button with aria-pressed
Checkbox with switch role
Button with aria-checked and switch role

This pen is used in the post Switch Role Support.