OptionalautoOptionalcolorsCustom colors
OptionalemailLocalStorage key for persisting the email — defaults to
'hiyve-join-token-userEmail'.
OptionaliconsCustom icons
OptionalinitialInitial email value (only used when showEmailField).
OptionalinitialInitial user name value
Join token from the invite link
OptionallabelsCustom labels for i18n support
OptionalminMinimum name length required
OptionalonCallback when user clicks "create room" link
OptionalonCallback when the optional email value changes (only relevant when
showEmailField is true).
OptionalonCallback when room is successfully joined (only fires in
submitMode='join').
OptionalonCalled in submitMode='continue' when the user submits the form.
Receives the trimmed credentials plus the resolved userId the
consumer should pass to joinRoom themselves.
OptionalonCallback when user name changes
Region from the invite link
OptionalshowWhen true, render an optional email field below the name. Validates format when filled (any value is accepted as long as it parses as an email) and disables the submit button on a malformed entry.
OptionalstylesCustom styles
Optionalsubmit'join' (default): clicking the submit button calls joinRoom and
fires onJoinSuccess. 'continue': clicking calls onSubmit with the
captured credentials and does NOT join — useful when the consumer wants
to insert intermediate UI (e.g. a device-preview lobby) before the
actual join.
OptionalsxMUI sx prop for container styling
OptionaluseWhen true and a well-formed email is provided, the form passes the
email as the userId to joinRoom instead of the display name. The
display name still appears in the room participant list via the
consumer's identity wiring.
OptionaluserLocalStorage key for persisting user name
Auto-validate token on mount