Skip to content
Twentyfirst UIHalo

Call Panel

CRM · CallPanel, Panel

View as Markdown

A call in progress, for a dialer or a softphone: who it is, the state and timer, mute, hold, record and end, notes and the outcome.

  • Mute, hold and record are toggle buttons with fixed labels and aria-pressed.
  • The timer counts from startedAt and ticks every second; pass now for a fixed render.
  • state="ringing" with onAnswer shows "Answer" instead of the call controls.
LH
Lena HartmannHead of Operations · Nordhafen Outdoor+49 40 2287 1190
On call12:34
TB
Tom BeckerIT lead · Nordhafen Outdoor+49 40 2287 1204
Ringing

Props

CallPanel

PropTypeNotes
namestringRequired
subtitle?ReactNode"Head of Operations · Nordhafen".
number?string
state"ringing" | "active" | "hold" | "ended"Required
startedAt?Date | string | numberWhen the call was answered; the timer counts from here.
now?Date | string | numberFixed "now" for the timer (server rendering, screenshots); ticks every second when unset.
muted?boolean
recording?boolean
onAnswer?() => void
onMute?(muted: boolean) => void
onHold?(hold: boolean) => void
onRecord?(recording: boolean) => void
onEnd?() => void
notes?stringShows a notes field.
onNotes?(text: string) => void
outcomes?string[]Shows an outcome picker ("Connected", "Voicemail" …).
outcome?string
onOutcome?(outcome: string) => void
className?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.

Panel

PropTypeNotes
side?boolean
title?string
subtitle?string
action?ReactNode
children?ReactNode
surface?Surface`"glass"`: translucent glass over what is behind (maps, 3D, video, photos); `"solid"` opts out inside a glass `UIProvider`.
className?stringExtra class on the root element.
style?CSSPropertiesInline style on the root element.