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

DevtoolsPanel

A game’s own inspector, drawn as one section of the overlay’s rail.

Property Type Description
component ComponentType -
icon? ComponentType<DevtoolsPanelIconProps> The section’s icon on the rail, such as one of lucide’s; a plain panel’s icon when left out.
id? string What the overlay keeps the open section by; the title when left out.
order? number Its place among the game’s sections, lowest first; after those with an order when left out, in the order registered.
title string The section’s name, in its header and its icon’s tooltip.