feat: support using custom elements 

Example uses mozilla brick toggle button.