Circuit Web Components

Enhance your website with Circuit features such as making video calls without any code. Just include the desired web component module and the Circuit JS SDK and use the element.

NPM Version

Documentation Live Examples

Example circuit-call-button:

              
<html>
  <head>
    <script type="module" src="//unpkg.com/@unify/circuit-web-components/circuit-call-button.js" defer></script>
    <script src="//unpkg.com/circuit-sdk" async></script>
    <style>
      /* Hide button until defined to prevent flash rendering */
      circuit-call-button:not(:defined) {
        opacity: 0;
      }
      circuit-call-button[inprogress] {
        background: firebrick;
      }
    </style>
  </head>
  <body>
    <circuit-call-button
      clientId="f76ea1b2789946c9b88b008c682c132a"
      target="helpdesk@company.com">Call Helpdesk</circuit-call-button>
  </body>
</html>