Regular solar panels work well but are an eyesore on a nice home.
There's a third way: in-roof or roof integrated photovoltaics. Normal panels, but integrated into the roof. Those look amazing. Very popular in Switzerland where some villages have strict aesthetic rules for buildings.
Next best thing aesthetically are full-roof racks, where one face of the roof is 100% covered in panels. Nowadays you just have to select the right panel and you can make it tile the plane perfectly.
Eyesore? Maybe on well architected multimillion dollar custom homes.
On the average suburban tract home in my corner of the USA, panels are no more ugly than the shingled roofs they sit atop.
A subjective eyesore shouldn't stop them from getting installed if they're functional.
I tend to think garages are an eyesore, and yet, basically everyone (including me) wants one included with their home.