This
12 volt LED dimmer easily mounts to a panel.
So all the electronics are hidden away, and you're left with just a tiny knob. Boom! Quick, easy, reliable dimming in one compact piece of next generation solid-state LED electronics.
If you're up for some hacking, and need to fit this in a tight space, you could even de-solder the knob (which is a variable resistor / potentiometer) from the board, attach new wires, and mount it remotely.