To catch sight of; to come into view; to be noticed by the eye (to happen to see).
遠くに雪をかぶった山が目に入った。
A snow-capped mountain came into view in the distance.
店の前を通ったら、新しい看板が目に入って入ってみた。
When I passed the shop, the new sign caught my eye and I went in.
忙しく歩いていると、色鮮やかな花がふと目に入った。
While walking busily, a brightly colored flower suddenly caught my eye.