LBr is ionic compound because k for potassium is metal which means it’s on the left side of the periodic table and Br which is bromine is a non metal which means is on the right side of the periodic table.
In Conclusion when a non metal and metal come together the are called ionic compound