Documentation Index
Fetch the complete documentation index at: https://docs.velt.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
React / Next.js
Other Frameworks
Import Huddle Component
Import the Huddle component from the React library.import { VeltHuddle, VeltHuddleTool } from '@veltdev/react';
Add Huddle Component
Add the VeltHuddle component to the root of your app.This component is required to render Huddle UI components and Huddle users in your app. Add Huddle Tool Component
Add the VeltHuddleTool component wherever you want to show the Huddle tool button.Clicking on it initiates a huddle.<div className="toolbar">
<VeltHuddleTool type='all' />
</div>
Place the <velt-huddle> component
Add the VeltHuddle component to the root of your app.This component is required to render Huddle UI components and Huddle users in your app.<div>
<velt-huddle></velt-huddle>
</div>
Place the <velt-huddle-tool> component
Add the VeltHuddleTool component wherever you want to show the Huddle tool button.Clicking on it initiates a Huddle.<div>
<velt-huddle-tool></velt-huddle-tool>
</div>
import { VeltHuddle, VeltHuddleTool} from '@veltdev/react';
export default function App() {
return (
<VeltHuddle /> {/* Add VeltHuddle at the root of your app */}
<div className="toolbar">
<VeltHuddleTool type='all' /> {/* Add VeltHuddleTool where you want the huddle button to appear */}
</div>
);
}