NaH is an ionic compound as shown below, and is made of sodium cations (Na+) and hydride anions (H-). It has the same octahedral crystal structure as NaCl, with each sodium ion surrounded by six hydride ions. The free hydride ions give this molecule its strong basic character. hope this helps