For Developers
Web Chat v2
Composer

Webchat Advance Components

The webchat offers 4 advanced components to help you build a more advanced version of the webchat. These components are:

Composer

webchat-embed-config

import "./style.css"
import theme from "./theme.json"
 
import { Composer, Container, WebchatProvider, useClient } from '@botpress/webchat'
 
const App = () => {
  const client = useClient({ clientId: '453254325-54325-435-345-345534253' })
 
  return (
    <WebchatProvider client={client} theme={theme}>
      <Container>
        <Composer />
      </Container>
    </WebchatProvider>
  )
}

Composer Demo

Click to see a live demo