ChessBoard is designed to be "just a board" and integrate easily with chess engines, etc.
https://github.com/oakmac/chessboardjs/blob/master/README.md
I have an issue to build an example that demonstrates integration with chess.js and only allows legal moves (https://github.com/oakmac/chessboardjs/issues/19)