A React component for easily integrating Tixae widgets in React applications
containerId
and unique className
values for each widget to prevent conflicts.
Prop | Type | Description | Default |
---|---|---|---|
configs | WidgetConfig[] | Array of widget configurations | Required |
className | string | CSS class for the container | '' |
style | React.CSSProperties | Custom styles for the container | {} |
containerId | string | Unique ID for the widget container | Auto-generated |
height | string | Height of the container | '500px' |
width | string | Width of the container | '100%' |
Property | Type | Description | Required |
---|---|---|---|
ID | string | The ID of the widget | Yes |
region | string | The region of the widget (e.g., ‘eu’, ‘na’) | Yes |
render | string | The rendering position | Yes |
divClass | string | Custom class for the container div | No |
user | object | User data (name, email, phone, etc.) | No |
userID | string | Custom user ID | No |
autostart | boolean | Whether to auto-start the chatbot | No |
modalMode | boolean | Whether to open the widget in modal mode | No |
stylesheets | string[] | List of custom stylesheet URLs | No |
vf_variables | Record<string,any> | Voice Flow variables to inject | No |
variables | object | Theme customization (avatarImageUrl, etc.) | No |
containerId
for each TixaeWidget component to ensure proper isolation.
className
values to each widget to prevent CSS conflicts.
divClass
in your widget configs, make sure they are unique.
user
property:
vf_variables
property:
variables
property: