What paint will work best with cardboard shelving?
Spray paint is normally lacquer and is made for more durable surfaces that won't flex. Like appliance paint.

Latex paint is more flexible and rubbery. Hence the name.

Use a good primer first to seal the cardboard.

Good luck!