I have a cheap Chinese electronic caliper that is also quite accurate. I wonder if there any sensors based on it and what they would be called (EDIT: linear magnetic/capacitive/optical encoders).
LVDT-like sensors on AliExpress seem quite expensive, but maybe I'm not looking in the right place.