Slider that sends MQTT on change without the need of mouse/finger release

Is there a way to configure any slider to send messages immediately after slide, without need to release mouse click or finger?
Let’s say I want to see immediate changes of light brightness when sliding:
Press mouse button on slider, slide and observe brightness, release mouse button when brightness is ok.
Of course there must be few milliseconds of delay not to send 101 messages when sliding from 0-100. I need this for something different than light but this is good example. With input_number I get only one message with final value on slider release. I cannot see any options in configuration for it.

Sounds more like a fader. Or a real dimmer.

I’ve been wanting this for a long time so I don’t have to guess brightness and remember % levels.