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

AbilityBarProps

Property Type Description
className? string An override that shows in the diff.
icons? Readonly<Record<string, ReactNode>> An element per ability, over the icon registered with it.
order? readonly AbilityName[] Abilities on the keys they keep, in key order, whatever order the player was granted them and whichever the player holds: one here keeps its key while another is missing. An ability past the list takes a free key. Left out, the keys follow the grants’ order.
primary? AbilityName The ability on the arc’s large centre button, by its handle or its name. Left out, every ability sits on the fan.
refusal? boolean Whether the bar shows why the last cast was refused, under the slots. Left out, it does; a game that draws the line its own way reads useCast’s refusalText.
shape? ActionBarShape The buttons’ outline, as ActionBar takes it.