Message

One entry of a thread: avatar, header, bubbles and footer, aligned start or end.

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

Usage

AP
Ada Park · 10:04
Can we move the beta invite to next sprint?
LR
Yes, if the invite copy lands by Friday.
Read

Import

ts
import {
  SoneMessageAvatarDirective,
  SoneMessageContentDirective,
  SoneMessageDirective,
  SoneMessageFooterDirective,
  SoneMessageGroupDirective,
  SoneMessageHeaderDirective,
} from "@surface-one/angular/message";

API reference

SoneMessageAvatarDirectiveDirective

Selector
[soneMessageAvatar]

SoneMessageContentDirectiveDirective

Selector
[soneMessageContent]

SoneMessageDirectiveDirective

Selector
[soneMessage]
Inputs
NameType Default
alignMessageAlign"start"

SoneMessageFooterDirectiveDirective

Selector
[soneMessageFooter]

SoneMessageGroupDirectiveDirective

Selector
[soneMessageGroup]

SoneMessageHeaderDirectiveDirective

Selector
[soneMessageHeader]