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

CargoCountersProps

Property Type Default value Description
className? string undefined An override on the panel the counters stand in, such as a game’s own frame.
classNames? CounterClassNames undefined An override per part of each counter, as Counter takes it.
entity? Entity | null undefined Whose goods: the player’s character’s where it is left out, as useCarrier reads it.
order? number undefined Its place among the panels in its slot, as a Panel’s order.
size? "base" | "sm" | "lg" | "xl" "base" The counters’ size, as Counter takes it.
slot? Slot Slot.Top, clear of a phone’s stick and buttons at the bottom and of the corners a HUD’s counters hold. Where it stands on the screen, as a Panel’s slot does.