Icons
The TalkJS chat UI includes a range of icons. You control which icon components you use in your theme, and where.
You can modify existing themeable components to add or remove icons in the TalkJS interface directly from the editor on the Themes page of your dashboard.
For example, to include an attachment icon component into your theme, add the following in the location in which you want the attachment icon to appear:
1<Icon type="attach" />
TalkJS makes the following icon types available to be used anywhere in your theme by specifying them in the type
prop of the Icon built-in component:
Icon | Type |
---|---|
addEmoji | |
attach | attachment | |
back | |
close | |
down | chevronDown | |
download | |
email | |
emoji | |
horizontalDots | |
image | |
left | chevronLeft | |
location | locationPin | |
mic | microphone | |
movie | |
pause | |
play | |
plus | |
reply | |
search | |
send | |
spinner | |
stop | |
up | chevronUp | |
updown | |
verticalDots | more |