How do I customize a 2d character?

I want to make a basic 2d spaceship game with fleet customization and I have different sprites for everything (one for cockpit, another for pipe and so on) but I do not know how to have a customization system.