The bicarbonates of sodium and potassium (NaHCO3 and KHCO3) have ionic, covalent and hydrogen bonds in pure state.
In KHCO3, there is ionic bonding beween K+ and HCO3- ions, and the bonding within the bicarbonate ion (HCO3-) is covalent. And, the HCO3- ions exist as dimers by means of hydrogen bonding.
In NaHCO3, the HCO3- ions are linked in an infinite fashion by hydrogen bonding.