idea-thinker posted:Below is a link to a circuit that I just purchased which accepts AC in and outputs DC. It has an adjustable output as well. The cost is about $2.00 each The size is about 3/4 in by 2 in and is about 7/8 in tall. This should cover most the of questions being asked in this thread.
That's certainly an option, but note that it's twice the size and also taller. I use an LM317T that has the tab that can be folded down to reduce the height of the board to just over half an inch. This board also lacks DCS compatibility, so you'd have to add an external choke. Finally, my design is a constant current design for a very specific reason, it's very easy to get a precise intensity as the adjustment from dim to bright covers the entire pot travel.
Different strokes for different folks.