Icons in placeholders

I want to add an icon to a searchbox placeholder, but understand that isn’t possible with FontAwesome icons. Does anyone know of a workaround for adding an icon to a search placeholder?

copy paste: :mag: or ⌕ or ⚲

Thanks. Not the prettiest solution, but it’ll work for now!

I put the icon directly to the left of the search field and include text as placeholder. This seems to be a better UX imo since the search icon doesn’t disappear after they click into the box.



Thanks @sridharan.s!

This topic was automatically closed after 70 days. New replies are no longer allowed.