Integrate Release0 agents in React applications using optimized components for seamless user experiences. This guide provides usage examples and integration methods for React projects.
Standard
component creates a container with a width of 100% (matching the parent width) and a height of 600px.
Popup
component automatically triggers a popup window after a specified delay. The example below triggers it after 3 seconds:
Bubble
component displays a bubble with a preview message. In this example, the message appears after 5 seconds, and you can customize the theme and avatar:
prefilledVariables
option. The example below pre-populates values for Current URL
and User name
:
Note: If your site URL contains query parameters (e.g., https://release0.com?User%20name=John%20Doe
), these variables are automatically injected into the bot. Manual transfer is not necessary.