import { VeltHuddle, VeltHuddleTool} from '@veltdev/react';

export default function App() {

  return (
    <VeltHuddle /> 

    <div className="toolbar">
      <VeltHuddleTool type='audio' /> 
      <VeltHuddleTool type='video' /> 
      <VeltHuddleTool type='screen' /> 
      <VeltHuddleTool type='all' /> 
    </div>
  );
}
  • React / Next.js

  • HTML

1

Enable Audio Only Mode

Sets the mode to audio only mode.

This is the default mode if no type is provided.

<VeltHuddleTool type="audio"/>
2

Enable Video Only Mode

Sets the mode to video only mode.

<VeltHuddleTool type="video"/>
3

Enable Screen Only Mode

Sets the mode to screen only mode.

<VeltHuddleTool type="screen"/>
4

Enable All Modes

Sets the mode to all modes.

<VeltHuddleTool type="all"/>