OptionalcolorsCustom colors
OptionalelapsedSeconds elapsed since started waiting. When used inside HiyveProvider, this is automatically populated from useWaitForHost().
OptionaliconsCustom icons
OptionallabelsCustom labels for i18n support
OptionalonCallback when user cancels waiting. When used inside HiyveProvider, this is automatically connected to leaveRoom().
OptionalrenderRender props for advanced customization
OptionalroomName of the room waiting for. When used inside HiyveProvider, this is automatically populated from useWaitForHost().
OptionalstylesCustom styles
OptionalsxMUI sx prop for container styling
OptionaltimeoutTimeout in seconds. When used inside HiyveProvider, this is automatically populated from useWaitForHost().
Props for the WaitForHostScreen component.
Remarks
This component displays a waiting screen when a guest joins a room before the host has started the meeting. This is different from the waiting room - it's shown when the host hasn't created the room yet.
When used inside HiyveProvider, state is automatically derived from the useWaitForHost() and useConnection() hooks.
Example
Context-connected usage (recommended):
Example
Manual prop-based usage: