I'm in the process of designing a pcb for a very small IoT device and need to get it as compact as possible. I'm currently considering these two smd antennas:
https://www.molex.com/pdm_docs/as/AS-47948-001-001.pdf
http://www.proant.se/files/user/Documents/Datasheets%20and%20appnotes/Upload%202018-06-08/Application%20note%20-%20OnBoard%20SMD%202400%20MHz%20rev%203.2.pdf
The second one is significantly larger, but it elevates the actual antenna away from the board and the documentation states that it might be ok to place smd components inside the block.
The first one is smaller, but the sheet shows that efficiency drops quite significantly when big metal parts are placed closer than 5mm to it.
I wonder, if I do have to place smd parts close to the antenna due to size requirements, which parts should I prefer to place there?