sw-click-to-call
sw-click-to-call
sw-click-to-call
Drop-in call button — embed it anywhere on a page and clicking it dials a preconfigured destination, opening the full call UI in a modal.
sw-click-to-call is a thin wrapper around <sw-call-widget> configured
in modal mode. The host renders only the green “Call” pill button;
everything else (client init, SignalWire connection, media, controls,
optional transcript) is delegated to the widget once the user clicks.
Use this element on marketing pages, support sites, or anywhere a single
destination should be dialable with one click. For more elaborate
scenarios (multiple destinations, custom UI, inline call) reach for
<sw-call-widget> directly instead.
Class: SwClickToCall · Module: packages/web-components/src/components/sw-click-to-call.ts
SwClickToCall, sw-click-to-calltoken field.
host field.
destination field.
label field.
audioOnly field.