I'm considering LED strip lighting for a pantry and for the stairway to the basement. I see three types of power supplies for the strips: with an AC plug, with pigtails, and with screw posts. The ones with an AC plug are easy to use and I might consider that for the stairway, but I can't easily hide the plug and outlet in the pantry (it wouldn't look "clean").
The power supplies look to be too large to fit inside an electrical box.
I could mount the pigtailed power supply outside the box and run the wires to the inside where I attach to 120 VAC. But, I'm concerned you can't have exposed AC wires (going from the supply to the box). What's code compliant? Do I put them in some sort of conduit?
What about the supplies with the screw posts?? I'm pretty sure I can't wrap tape around it to isolate the AC (tape could come off). These mystify me.
p.s. Got asked for examples...First is an example of one with a plug, second is an example of one with pigtails, and third is an example of one with screw posts: