Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

TextChat

TextChat(props): Element

The text chat window. Every game in a room gets one with no code, in the bottom-left slot on a desktop and behind a button in the corner row on a phone; one placed among a game’s views replaces it, so a game moves it with slot, restyles its pane with className, or draws each message with message. In a game played alone it shows the game’s own messages and reserves no key. As Roblox’s ChatWindowConfiguration and ChatInputBarConfiguration.

Parameter Type
props TextChatProps

Element

<Views>
<TextChat slot={Slot.TopRight} className="w-96" />
</Views>