Compounds held together by ionic bonds may form crystals.

The sodium cations (Na^+) and chloride anions (Cl^-) in table salt sodium chloride (NaCl) are each surrounded by 6 ions of the opposite charge, forming a crystal.