Message

This multi kit consists of a an avatar, a status, a caption, a body text, and a time stamp, all of which are optional.

Default

Mike Bishop

Anna Black

20 seconds ago
How can we assist you today?


Wade Winningham

Patrick Welch

9 minutes ago
We'll escalate this issue to a Senior Support agent.


Becca Jacobs

Lucille Sanchez

4 hours ago
Application for Kate Smith is waiting for your approval


Beverly Reyes

2 days ago
We're so sorry you had a bad experience!


Keith Craig

2 days ago
Please hold for one moment, I'll check with my manager.


2 days ago
We're so sorry you had a bad experience!


2 days ago
picture of a misty forest


2 days ago
picture of a misty forest
Please hold for one moment, I'll check with my manager.

Use this kit when displaying a message or a sort of communication with either a user or a bot. Use it in history displays, chat rooms, discussion threads or comments section.

With Timestamp Hover

Lisa Thompson

Anna Black

4 hours ago
Apr 16 · 12:12a
Hover over me to check out the real time I was made!


Lisa Thompson

Becca Jacobs

12.20p
Apr 16 · 12:12a
Application for Kate Smith is waiting for your approval

Hover

Mike Bishop

Anna Black

How can we assist you today?


Lucille Sanchez

Becca Jacobs

Application for Kate Smith is waiting for your approval



Mentions

Keith Craig

2 days ago
@all
let's welcome
@Lucille Sanchez
to the team this week!
Lucille Sanchez

Lucille Sanchez

2 days ago
@Keith Craig
thanks for the warm welcome! I'm so excited!

The message kit also supports @mentions using a compound component structure. See the code example for details on how to pass user mentions through your messages.

Grayscale Avatar

Mike Bishop

Mike Bishop

3 months ago
So long, and thanks for all the fish!


Things To Avoid

Avoid changing the format of this kit. Keep the layout true to its original design.


Available Props

Props Type Values

align_content

enum | responsive
start
end
center
spaceBetween
spaceAround
spaceEvenly

align_items

enum | responsive
start
end
center

border_radius

enum
none
xs
sm
md
lg
xl
rounded

cursor

enum
auto
default
none
contextMenu
help
pointer
progress
wait
cell

dark

boolean
true
false

flex

enum | responsive
auto
initial
0
1
2
3
4
5
6
7
8
9
10
11
12
none

flex_direction

enum | responsive
row
column
rowReverse
columnReverse

flex_wrap

enum | responsive
wrap
nowrap
wrapReverse

justify_content

enum | responsive
start
end
center
spaceBetween
spaceAround
spaceEvenly

line_height

enum
loosest
looser
loose
normal
tight
tighter
tightest

margin_right

array
none
xxs
xs
sm
md
lg
xl

margin_left

array
none
xxs
xs
sm
md
lg
xl

margin_top

array
none
xxs
xs
sm
md
lg
xl

margin_bottom

array
none
xxs
xs
sm
md
lg
xl

margin_x

array
none
xxs
xs
sm
md
lg
xl

margin_y

array
none
xxs
xs
sm
md
lg
xl

margin

array
none
xxs
xs
sm
md
lg
xl

width

string

min_width

string

max_width

string

gap

string | responsive

column_gap

string | responsive

row_gap

string | responsive

number_spacing

enum
tabular

order

enum | responsive
none
first
1
2
3
4
5
6
7
8
9
10
11
12

overflow_x

enum
scroll
visible
hidden
auto

overflow_y

enum
scroll
visible
hidden
auto

overflow

enum
scroll
visible
hidden
auto

padding_right

array
none
xxs
xs
sm
md
lg
xl

padding_left

array
none
xxs
xs
sm
md
lg
xl

padding_top

array
none
xxs
xs
sm
md
lg
xl

padding_bottom

array
none
xxs
xs
sm
md
lg
xl

padding_x

array
none
xxs
xs
sm
md
lg
xl

padding_y

array
none
xxs
xs
sm
md
lg
xl

padding

array
none
xxs
xs
sm
md
lg
xl

position

enum
relative
absolute
fixed
sticky
static

shadow

enum
none
deep
deeper
deepest

text_align

enum | responsive
start
end
left
right
center
justify
justifyAll
matchParent

truncate

enum
none
1
2
3
4
5

vertical_align

enum | responsive
baseline
super
top
middle
bottom
sub
text-top
text-bottom

z_index

enum | responsive
1
2
3
4
5
6
7
8
9
10
max

top

enum | object
xxs
xs
sm
md
lg
xl
xxl

inset

boolean
true
false

right

enum | object
xxs
xs
sm
md
lg
xl
xxl

bottom

enum | object
xxs
xs
sm
md
lg
xl
xxl

left

enum | object
xxs
xs
sm
md
lg
xl
xxl

height

string

max_height

string

min_height

string

hover

object

group_hover

boolean
true
false
Props Type Values Default

avatar_grayscale

boolean
true
false
false

avatar_name

string

avatar_status

enum
away
offline
online

avatar_url

string

label

string

message

string

timestamp

string

timestamp_object

date

timezone

string
America/New_York

align_timestamp

string
left
right
right