OptionalautoWhen true, uses useConnection() internally (default: false)
OptionalcolorsCustom colors
OptionaldefaultDefault role selection (default: 'owner')
OptionaldeviceHow to display the device preview (default: 'dialog')
OptionaliconsCustom icons
OptionallabelsCustom labels for i18n support
OptionalonCallback for back navigation
OptionalonCallback when creating a room (non-autoConnect mode)
OptionalonCallback when an error occurs
OptionalonCallback when joining a room (non-autoConnect mode)
OptionalshowWhether to show the device preview button (default: true)
OptionalshowWhether to show the owner/guest role toggle (default: true)
OptionalshowWhether to show the waiting room toggle for owners (default: false)
OptionalstoragePrefix for localStorage persistence keys. null disables persistence (default: null)
OptionalstylesCustom styles
OptionalsxMUI sx prop for container styling
Props for the JoinForm component.
Remarks
Provides a complete room creation and joining form with role selection, device preview, and optional waiting room configuration.
Works in two modes:
onCreateRoom/onJoinRoomcallbacksautoConnect: true): UsesuseConnection()from@hiyve/react, requiring aHiyveProviderancestorExample
Auto-connect inside HiyveProvider: