Modular switches are electrical switches that can be easily mounted on a wall without hard wiring. They are called "modular" because they are designed to be easily attached to or removed from the wall without cutting wiring.
https://fybros.com/blogs/modular-switches/