Elkhart, Ind., is flashing a warning sign about the economy.

Capital of the country’s recreational-vehicle industry, the northern Indiana city and the surrounding area are watched by economists and investors for early indications of waning consumer demand for luxury items, often the first sign of economic anxiety.

Shipments of recreational...