Speaker Chip

A speaker’s initials in a tone-coloured avatar plus their name, derived from one transcript speaker key.

Available in
  • Angular: available
  • Vue: available
  • React: available
  • React Native: not available yet

Usage

MeOthersSpeaker 1Speaker 2
Ada ParkMeSpeaker 3

Import

ts
import {
  SoneSpeakerChipComponent,
} from "@surface-one/angular/speaker-chip";

API reference

SoneSpeakerChipComponentComponent

`<sone-speaker-chip>` — who is talking: initials in a tone-coloured avatar plus the speaker's name, both derived from one speaker key (`me`, `others`, `others-0`, `speaker-2`) with `speakerLabel()` / `speakerTone()`.

Selector
sone-speaker-chip
Inputs
NameType Default
speaker

The speaker key; an unknown key is shown as it is.

string | nullnull
label

Replaces the derived name (a real participant name, say).

string | nullnull
sizeSpeakerChipSize"default"