To make invisible shelves for your books, you just need brackets .
Just squares, nothing else, you won't be able to do it cheaper :
2 mounting brackets on Amazon are €3.99.
Place the brackets close enough so that they support your books well. Put your heaviest books on the bottom for stability.
And here's another clever storage for coloring books and pencils.