MehCode/Wrappers/3D/Node3d/Panels/PinButton.razor
@inherits Button
@namespace Nodebox

<root class="@(IsOutput ? "output" : "input")"/>

@code
{
    public bool IsOutput { get; set; }
    public int Index { get; set; } = 0;
    protected override int BuildHash() => System.HashCode.Combine( IsOutput );
}