They did, and it was.

Early choices were only dynamic and piezo, both relatively big and rather delicate.

Nowadays, electret (permanantly polarised ceramic) elements can be made into small dots that hide behind the teeny tiny hole you’d otherwise miss unless you were specifically looking for it.