---
# System prepended metadata

title: Untitled

---

## Chat widget components actual structure

The platform allows you to add components to the chat widget so that the user experience is not limited to plain text. Click [here](https://docs.yellow.ai/docs/platform_concepts/channelConfiguration/character-limits-sdk) to know more about the limitations of the components.

There are two types of components - **Interactive** and **Non-Intercative**.

Let's take an example, where you want to register for an online class through a website. With the help of date and time picker components in the chatbot, you can register quickly by providing the appropriate date and time instead of manually typing the text messages.

:::note
Each of these components supports both light and drak back ground theme.
:::

<img src="https://i.imgur.com/ONYSM4K.png)" alt="drawing" width="60%"/>

![](https://i.imgur.com/6UMCbqn.png)



## 1. Interactive messages

This type of message allows you to make a quicker selection from a menu when interacting with a bot. It allows the user to actively interact with the chatbot by clicking buttons, menus, or custom actions.

Following are the types of interactive message components:

### 1.1 Quick replies 

<div style="float: left; width: 50%;">
  <p>This component allows you to reply to the bot with the pre-defined buttons. When your user clicks on any of the quick reply buttons, a message is sent into the conversation. Click <a href="https://docs.yellow.ai/docs/platform_concepts/studio/build/nodes/prompt-nodes#14-quick-replies">here</a> to implement Quick replies using a node.</p>
</div>
<div tyle="float: right; width: 50%;">
  <pre><img src="https://i.imgur.com/y7JESen.png)" alt="drawing" width="60%"/><br/> </pre>
</div>


### 1.2 Multi select

<div style="float: left; width: 50%;">
  <p>This is similar to quick replies. It consists of multiple quick reply buttons where the user can select multiple options at once to send the response to the chatbot. Click <a href="https://docs.yellow.ai/docs/platform_concepts/studio/build/nodes/prompt-nodes#23-multi-select">here</a> to implement Multi-select using a node.</p>
</div>
<div tyle="float: right; width: 50%;">
  <pre><img src="https://i.imgur.com/cvYKO4E.png)" alt="drawing" width="60%"/><br/> </pre>
</div>

### 1.3 Date picker

<div style="float: left; width: 50%;">
  <p>Allows you to select a preferred date from the calendar view. The date is displayed in the predefined format. If the user's input contains a date or a time, it will pass the validator. Otherwise, the specified validation fail message will be sent. Click <a href="https://docs.yellow.ai/docs/platform_concepts/studio/build/nodes/prompt-nodes#21-date">here</a> to implement Date picker using a node.</p>
</div>
<div style="float: right; width: 50%;">
  <pre><img src="https://i.imgur.com/iIZpkxw.png)" alt="drawing" width="60%"/><br/> </pre>
</div>

The following are the different date pickers supported:
options | Description | 
--------|-----------|
| **Single date picker** | Allows a user to select a single date from a calendar.<br/> <img src="https://i.imgur.com/rBWibhT.png)" alt="drawing" width="60%"/>
| **Range date picker** | Allows a user to select a start and end date from a calendar. | <img src="https://i.imgur.com/mrVIPpo.png)" alt="drawing" width="80%"/>
**Month date picker** | Allows a user to select a month from the date picker. | <img src="https://i.imgur.com/dCz0sZQ.png)" alt="drawing" width="80%"/> 
**Simple date and time picker** | Allows a user to select a date and time, which is in the pre-defined format. | <img src="https://i.imgur.com/oAYArM8.png)" alt="drawing" width="80%"/>
**Time picker** | Allows a user to add time to the conversation. | <img src="https://i.imgur.com/UY2zUmR.png)" alt="drawing" width="80%"/>
	
### 1.4 Cards
	
This component uses UI annotations to display concise information related to a specific context in a limited-space container using images, buttons, and links to download attachments. Click <a href="https://docs.yellow.ai/docs/platform_concepts/studio/build/nodes/prompt-nodes#16-carousel">here</a> to implement Date picker using a node
	
The following are some key features of cards:
* Provide a richer experience in chatbot conversations when compared to text based messages.
* Display information in the widget so your users get direct insights into their queries without switching screens.
	
Following are the different types of interactive cards: 
	
Cards | Description
------|------- 
**List card** (Generic card) | Displays lists of records that are related to the specific queries.<br/> <img src="https://i.imgur.com/hiBPxx0.png)" alt="drawing" width="60%"/>
**Product card** | Provides all the detailed information about your product, such as the product name, image, variants, and description.<br/><img src="https://i.imgur.com/pzQW3vv.png)" alt="drawing" width="40%"/>
**Slider card** | Allows you to choose the minimum and maximum value within the defined range by sliding the pointer.<br/><img src="https://i.imgur.com/3Q5nz60.png)" alt="drawing" width="40%"/>
**Multi select transaction card** | Allows you to view multiple transaction details at a time. Each of the transactions contains details such as title, amount, account number, time, and status. With this card, you can perform the following actions: <br/>• **Select:**  Enable the checkbox to select one or more transactions from the list. <br/>• **Load more:** If you want to view further transactions from the current list, click on **Load more** button to view the next set of transactions (upto 5 transactions). <br/>• **Submit:** You can submit the selected transactions to the bot by clicking **Submit** button. <br/> Note that, **Submit** and **Load more** buttons are disabled once the transactions are submitted. <br/>**Limitations:**<br/>• A maximum of 50 characters is supported for title.<br/>• This card is compatible with all widget modes, including PWA, SDK, and Web widget. <br/>• It supports an icon or a fallback avatar for each transaction. <img src="https://i.imgur.com/OAToVqQ.png)" alt="drawing" width="60%"/>


	
### 1.5 Media
	
This component allows you to add images, videos, and files to the bot conversation.
	
| Video | Image | File|
--------|-------|-----|	
<img src="https://i.imgur.com/qZgN15f.png)" alt="drawing" width="80%"/> | <img src="https://i.imgur.com/lTmi3i0.png)" alt="drawing" width="80%"/> | <img src="https://i.imgur.com/SXkbRNp.png)" alt="drawing" width="80%"/> 
	
### 1.6 Feedback 
	
<div style="float: left; width: 50%;">
  <p>This component allows you to provide feedback and to rate their chat experience. The rating is displayed as a number of stars on a scale of 5. You can click on the stars to provide a rating. Click <a href="https://docs.yellow.ai/docs/platform_concepts/studio/build/nodes/prompt-nodes#27-feedback">here</a> to implement Feedback using a node.</p>
</div>
<div tyle="float: right; width: 50%;">
  <pre><img src="https://i.imgur.com/nESHeK6.png)" alt="drawing" width="80%"/><br/> </pre>
</div>	
		
	
### 1.7 Location
	
<div style="float: left; width: 50%;">
  <p>This component allows you to share your location. Based on the shared location, the chatbot understands the user's context and offers more relevant information. Click <a href="https://docs.yellow.ai/docs/platform_concepts/studio/build/nodes/prompt-nodes#24-location">here</a> to implement Location using a node.</p>
</div>
<div tyle="float: right; width: 50%;">
  <pre><img src="https://i.imgur.com/GDp7suq.png)" alt="drawing" width="80%"/><br/> </pre>
</div>		
	
	
###	1.8 Attachment
	
<div style="float: left; width: 50%;">
  <p>This component allows you to upload documents, images, and other files from their device or from a cloud storage provider.</p>
</div>
<div tyle="float: right; width: 50%;">
  <pre><img src="https://i.imgur.com/9y8t0sb.png)" alt="drawing" width="80%"/><br/> </pre>
</div>		
	
### 1.9 Home button
	
<div style="float: left; width: 50%;">
  <p>This component allows you to refresh a chatbot or  to trigger a conversational flow.</p>
</div>
<div tyle="float: right; width: 50%;">
  <pre><img src="https://i.imgur.com/Tz2XO46.png)" alt="drawing" width="80%"/><br/> </pre>
</div>		
	
## 2. Non-interactive messages
	
This type of message does not require a response from your bot user by clicking the buttons, menus, or custom actions. A Chabot uses this type of message to generate automated response with all the details related to your queries.  	
	
Following are the types of non-interactive message components:

	
Components | Description
------|-------
**Contact card** | This component displays the information of the user and allows you to communicate with the user through email, phone, or WhatsApp.<br/><img src="https://i.imgur.com/HVUfu8y.png)" alt="drawing" width="60%"/> 	
**Order status** | This component is used to track the status of your order with details such as order Id, delivery date, and total amount. <br/> <img src="https://i.imgur.com/gO0zj9o.png)" alt="drawing" width="60%"/>
**Transaction status**	| This component is used to track the status of your transactions. <br/><img src="https://i.imgur.com/tpT0wsR.png)" alt="drawing" width="60%"/>
**Receipt card** | This component is used to view the details of your purchase, including the items, price, date, and transaction number. <br/><img src="https://i.imgur.com/LJeO5AF.png)" alt="drawing" width="60%"/> 


| Components | Description |
| ---------- | ----------- |
| **Contact card** | This component displays the information of the user and allows you to communicate with the user through email, phone, or WhatsApp. <img src="https://i.imgur.com/HVUfu8y.png" alt="drawing" width="60%"/>  |	
| **Order status** | This component is used to track the status of your order with details such as order Id, delivery date, and total amount. <img src="https://i.imgur.com/gO0zj9o.png" alt="drawing" width="60%"/> |
| **Transaction status** | This component is used to track the status of your transactions. <img src="https://i.imgur.com/tpT0wsR.png" alt="drawing" width="60%"/> |
| **Receipt card** | This component is used to view the details of your purchase, including the items, price, date, and transaction number. <img src="https://i.imgur.com/LJeO5AF.png" alt="drawing" width="60%"/>  |	
	

	
	
	
	


