For general installation and configuration take a look at the components package.
<!-- index.html --> ... <body> <label for="my-id" class="db-switch"> <input type="checkbox" role="switch" id="my-id" /> Switch </label> </body>