LED’s can be very particular about their dimmer. Unfortunately it’s not enough just to go to the store and pick up a dimmer switch that claims compatability with LED’s .
Fortunately most LED fixtures/bulbs come with a list of recommended dimmers, at least if you stick with larger brands and not cheap LED’s from Amazon.
I know a few in my house require ELV dimmers and those sell to the tune of $50/ switch whereas others work fine with a $10 MLV.
Meanwhile my under cabinet lights explicity state not to use an ELV dimmer and to only use MLV or risk damaging the unit.