Do neodymium magnets fall under the category of an electronic component?

No, magnets do not fall under the category of an electronic component. Magnets, however, cannot be used to generate electricity.