Ionic compounds are hard crystalline solids. The crystal of sodium chloride has a definite shape. There is a strong electrostatic force of attraction, which holds the ions together. The ions cannot be easily separated. The crystals are hard and brittle.