The rest is/are

I am confused, is “the rest” singular or plural?

Thanks.

It can be both as in:

75% of the book was poor and the rest was terrible.

The first 50 pages of the book are damaged but the rest are all right.

Got it, thanks.