Lithium hydroxide exists as an ionic network of lithium ions and hydroxide.
And barium nitrate, in the form of barium 2+ ions and nitrate ions
But pure HNO3 is a liquid, at room temperature, so it must exist as molecules.
As soon as you dissolve it, it turns into ions, but it’s not a compound anymore, it’s a mixture, a solution of HNO3 in water.
butan-1-ol is made up of molecules and remains as molecules even when it dissolves.