4 layers35 × 35 mm

Foc8313
williamhaarhoff/foc8313
Highly compact field oriented controller based on the DRV8313 IC
155 parts9
KiCad boards from 2 GitHub repositories tagged “field-oriented-control”, the most starred first; open any of them in PCBKit.