Ports and connected state
Ports are split automatically by type: input on the left, output on the right. Pass connectedPorts with an array of port IDs to show which ports are wired; a wired pin is filled in its own colour.
Ports are the part of a node graph people look at most, so their anatomy, geometry and states are documented in full under Ports below.
Selected state
Pass selected to draw the card's border in its own identity colour, with a matching inset line. Selection is a colour change and nothing else: it does not lift the card or cast a shadow, because moving a card moves its pins, and its pins are where its wires are anchored.
Enable toggle and disabled state
When enabled is passed, a compact accent-tinted toggle renders in the header. Disabled cards drop to 55% opacity, collapse the body, and append " . off" to the category tag.
A card that is never switched off takes :toggleable="false": the toggle goes, and so does the on or off wording, from the category tag and from the card's accessible name.
Status
Five states, each a distinct glyph so they stay apart in greyscale, for a reader with a colour vision deficiency, and at the zoom levels where a coloured dot would be sub-pixel.
Three report the outcome of a check: valid, warning and error.
Two report where a node is in a piece of work, for a graph that shows something running: active (work in progress, a ring with a turning arc) and pending (waiting or queued, a clock face). Under reduced motion the arc stops turning and the ring breathes instead, so an active node still looks alive without anything travelling.
The glyph is a header cell rather than part of the title, so a long title ellipsises without pushing the status out of view.
Removable
Custom body content
Anything placed in the default slot renders inside the card body, below the parameters.
Inside a blueprint
For a complete example wiring cards and ports into an NbBlueprint canvas, see the Blueprint docs.