I need a search field like the Apple Mail one...

If you need a text field with a small icon in it…

Look at this
Cocoa Widgets page.