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

TextChatProps

Property Type Default value Description
className? string undefined Restyles the pane, such as its width or its colours.
hidden? boolean false Draws nothing, and still replaces the default window: for a game that draws its own on useTextChat(). Chat stays on; the player list keeps mute, block and report.
message? ComponentType<TextChatMessageProps> undefined Draws each message in place of the engine’s line. A message’s sender, an NPC’s mark and a game’s own message keep their meaning in any style, since its kind is data, not text.
slot? Slot Slot.BottomLeft Where the pane stands on a desktop. A phone keeps its button in the corner row and its window centred.