Ui componentsReact
React 17
Using the uikit with React 17.
The @inkeep/uikit
package supports React 18, in order to use the Inkeep components with React 17 you can install the @inkeep/uikit-js
package.
Quick Start
Install the component library
Define the component
Chat Button
See here for additional supported props.
Search Bar
See here for additional supported props.
Embedded Chat
See here for additional supported props.
Custom Trigger
See here for additional supported props.
Server side rendering
If you are using a framework that utilizes server side rendering you will need to import the library asynchronously within a useEffect hook.
Example
This example uses the Chat Button component but the same logic can be applied to any of the other components.