sw-ui-dialpad
sw-ui-dialpad
sw-ui-dialpad
Presentational 12-key telephone keypad (0-9, *, #) for entering phone numbers, sending DTMF tones, or capturing free-text destinations.
Pure UI primitive — no call logic, no SDK coupling. Use
<sw-call-dialpad> for the SDK-aware version that automatically forwards
digits to an active call.
Each key shows the digit plus the standard ITU-T E.161 letter mapping (2 → ABC, 3 → DEF, …). Two long-press shortcuts are built in:
0 → inserts + (international prefix).Set allow-text to let users type into the display field directly
(useful for SIP URIs or destination addresses that aren’t strictly
digits). Set show-call-button to render an inline “Call” button.
Class: SwUiDialpad · Module: packages/web-components/src/components/UI/controls/sw-ui-dialpad.ts
SwUiDialpad, sw-ui-dialpadWhether to display the call button below the keypad.
Allow free-text input in the display field (e.g., SIP URIs, vanity letters). Keypad buttons still append DTMF digits.
Placeholder text shown in the digit display input.