typically, under cabinet lights need to be at least two inches shorter when compared to the width within your cabinets and a little considerably less deep compared to recessed space on the cabinet underside.
These https://lepotecshop.com/collections/motion-sensor-lights