TULELA: Solid, liquid or gas ... eventually overcoming the force of attraction holding them together. They are free to move, they spread out with higher energy. The liquid becomes a gas.
Ionic compounds have high melting and boiling points, so they are in the solid state at room temperature ... overcomes the strong electrostatic forces of attraction which act in all directions ...