Potassium fluoride (KF) is a chemical compound composed of potassium and fluoride ions. It is an ionic compound because it is formed by the electrostatic attraction between potassium ions (K+) and fluoride ions (F-). The difference in electronegativity between potassium and fluorine atoms causes the electron cloud to be displaced towards the fluorine atom, creating a partial negative charge on the fluorine atom and a partial positive charge on the potassium atom. These partial charges then attract each other, forming an ionic bond.