Under cabinet lighting dimmer

Looking for a smart dimmer for my UCL. Here is my issue I only have the hot loop into my box where the on/off switch is and the actual junction box where the connection to the UCL is behind the cabinet and not easily accessible. Yes yes I know not to code etc. I’m not worried about that. Just looking for any solution or ideas. In the same box as my switch there is an outlet that has both hot and neutral but it is on a different circuit. Thanks.