B-Squares is a 3D modular electronics system with an emphasis on (but not limited to) solar power and expandable energy storage. Each Square has a magnetic contact on each of the corners which allows the Squares to easily snap together without wires. The magnetic contacts are also used to transmit electric signals between the Squares. This design allows users to quickly assemble Squares into arrays, with power flowing through the array via the corner contact, without wiring or soldering. Also, due to the use of multiple magnetic contacts on each Square, the overall circuit of the array can quickly be changed simply by rotating one of the Squares - for instance, the color of the LED Square can change with a flip or a rotation.