unwilling-turquoise•2y ago
react component
Can I render reactjs component within a step?
1 Reply
Yes, you can render ReactJS components within a step in Voiceflow by using Custom Actions. Custom Actions allow you to build and integrate custom chat experiences, including custom message types or components. To facilitate this, we offer a Web Chat UI Kit and a react-chat library, which you can customize for your needs. Here are some key points:
- Use Custom Actions to create and integrate custom components.
- Our react-chat library, available through npm, supports customization of chat UI elements and the creation of custom components.
- The library provides a useRuntime hook for managing conversation turns and interacting with your agent's flows.
For more detailed guidance and to access the react-chat library, you can visit our documentation on Advanced Webchat and explore the library on npm.