Yes, it's officially considered a library, which is besides the point of this article.
And besides when you are referring to multiple choice and one characteristis prevails, it is used to address all with that, thus in this case, framework, which Vue and Angular are. Which as well is irrelevant and besides the point of this article.