Skip to content

Blueprint Minimap

Last updated 27 Oct 2026

NbBlueprintMinimap is an optional overview for an NbBlueprint canvas: it draws each card as a small rectangle plus a rectangle for the current viewport, and lets the user click or drag to recenter. It reads the camera through useBlueprint() and takes the same cards array you pass to the blueprint (windowed API).

Props ​

PropTypeDefaultDescription
cardsIBlueprintCard[](required)The same cards passed to NbBlueprint; their geometry drives the map.
position'top-left' | 'top-right' | 'bottom-left' | 'bottom-right''bottom-left'Corner the minimap floats in.
widthnumber200Minimap width in px.
heightnumber140Minimap height in px.
pannablebooleantrueClick / drag on the minimap to recenter the viewport.
nodeColorstring(card accent)Override the node color (any CSS color).