Component Slots Reference

This page lists all available UI slots where you can register custom Vue components using game.addComponent().

See Vue Components for usage examples.


State-Based Slots

State-based slots show one component at a time based on a state value. The slot renders whichever component's id matches the current state.

SlotStateDescription
game_stategame_stateMain game view (exploration, battle, custom screens)
overlayoverlay_stateOverlay layer (navigation map, exchange UI)
popuppopup_stateModal popups
progression-tabsprogression_stateSide panel tabs (quests, characters, gallery)
character-tabsprogression_sub_stateSub-tabs within character sheet

Injection Slots

Injection slots render all registered components together. They act as extension points throughout the UI where you can inject custom content.

Each slot passes context props to registered components, giving them access to parent data.

SlotWhere it appearsContext Props
ability-card-headerInside ability card headerabilityId, characterId
ability-card-metaAfter ability cooldown/costsabilityId, characterId
ability-card-footerBottom of ability cardabilityId, characterId
abilities-viewer-topBefore ability listcharacter
abilities-viewer-listInside ability listcharacter
abilities-viewer-bottomBottom of abilities viewercharacter
character-faceCharacter face displaycharacter
character-list-itemInside character face in party list (via overlaySlot)character
character-sheet-topTop of character sheet (above stats)
character-sheet-bottomBottom of character sheet (below inventory)
character-statuses-topInside status list, before items/statuses (inline)character
character-statuses-bottomInside status list, after items/statuses (inline)character
debug-panelDebug panelactiveTabId
events-containerEvents/dialogue areasceneSlots
exploration-stateInside exploration viewdungeon, currentRoom
inventoryInside inventory componentinventory
inventory-headerHeader above inventory gridinventory
item-cardItem card displayitem
item-choicesItem choice popupsitem
item-gridInventory grid areaitems
menu-afterAfter main menu contentmenuState
menu-beforeBefore main menu contentmenuState
mod-pickerInside mod picker UIavailableMods, selectedMods
navigation-toolbarButtons in map toolbar
overlay-navigationNavigation map overlaydungeon, choices
overlay-navigation-sideSide column next to the navigation overlay (right column in text dungeons, right edge of viewport in screen dungeons)dungeon
scene-content-topAbove scene dialogue content (text dungeons)sceneId
scene-content-bottomBelow scene choices (text dungeons)sceneId
progression-containerProgression side panelactiveTab, selectedCharacter
quests-tabQuests panelselectedQuest
replay-custom-blockCustom content in replay modereplayMode, data
ui-containerMain UI layer

Default Components by Slot

game_state

IDDescription
explorationDefault exploration/dungeon view

overlay

IDDescription
overlay-navigationMap navigation overlay
overlay-exchangeTrade/loot exchange UI

Hoist: Overlays render below the UI layer (z-index 300 vs 400). To render an overlay above the UI, add the overlay-hoist class to its root element. This bumps the overlay wrapper to z-index 500.

progression-tabs

IDDescription
questsQuest log
characterCharacter sheet
galleryGallery tab

character-tabs

IDDescriptionProps
statsCharacter stats display
skill-treesSkill tree interface
inventoryParty inventoryinventory_id

debug-tabs

IDDescription
debug-optionsDebug options
debug-dungeonsDungeon debugging
debug-charactersCharacter debugging
debug-choicesChoice debugging
debug-registryRegistry viewer
debug-inventoriesInventory debugging
debug-storesStore debugging
IDDescription
toolbar-backBack button
toolbar-encounter-navEncounter navigation
toolbar-toggle-circlesToggle interaction circles
toolbar-zoom-controlsZoom in/out
toolbar-center-roomCenter on current room
toolbar-logsOpen logs
toolbar-minimizeMinimize toolbar

inventory-header

IDDescriptionProps
default-inventory-headerDefault inventory header with filtersinventory_id

ui-container

IDDescription
character-listParty character list panel

Next Steps