Not all nonmetals are gases at room temperature, but many of them are. In fact, there are several nonmetals that exist in gaseous form under standard conditions. For example, nitrogen, oxygen, fluorine, and chlorine are all nonmetals that are gases at room temperature.
On the other hand, some nonmetals are solid at room temperature, like carbon (in the form of graphite or diamond), sulfur, and phosphorus. A few nonmetals, such as bromine, even exist as a liquid at room temperature. So, while a significant number of nonmetals are indeed gases at room temperature, it’s important to note that nonmetals encompass a wider range of states, including solids and liquids.