Skip to content

Commit

Permalink
More images
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchellPetrie committed Nov 29, 2024
1 parent d3bedda commit 53e1fc7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion chat/customization.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@
title: 'Customization'
---

<Frame>![Customise chat](/public/images/chat-customisation.png)</Frame>

## General customization

You can customize the chat widget to match your brand and user experience. You can change various aspects of the chat widget including both the appearance and behavior.

<Frame>![Customise chat](/public/images/chat-customisation.png)</Frame>



<Accordion title="General customization code">
<Snippet file="chat/customization.mdx" />
Expand Down Expand Up @@ -36,6 +39,8 @@ set a label based on the page the user is on.

### Chat buttons

<Frame>![Chat buttons image](/public/images/chat-button-customisation.png)</Frame>

You can configure the primary chat button and any additional chat buttons that appear on the intro screen with text and an icon using the `chatButtons` array.

You can also pass `threadDetails` to a chat button to set fields on the thread when the user creates a chat from that specific button. If you provide the same field
Expand All @@ -47,6 +52,8 @@ in both the top-level `threadDetails` and a chat button, any single value fields

### Chat forms

<Frame>![Chat forms image](/public/images/chat-forms.png)</Frame>

Similar to chat buttons, chat forms allow you to set fields on the thread when the user creates a chat. These are specific to each `chatButton`.

<Accordion title="Chat forms code">
Expand Down
Binary file added public/images/chat-button-customisation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/chat-forms.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 53e1fc7

Please sign in to comment.