U.S. stocks trimmed losses on Friday after data showed consumer sentiment improved in early June to its strongest level in nearly 2-1/2 years.

* The upbeat data offset an earlier report showing an unexpected decline in May retail sales.

* The Dow Jones industrial average <.DJI> slipped 40.28 points, or 0.40 percent, to 10,132.25. The Standard & Poor's 500 Index <.SPX> eased 4.27 points, or 0.39 percent, to 1,082.57. The Nasdaq Composite Index <.IXIC> was off 0.75 points, or 0.03 percent, to 2,217.96.

(Reporting by Leah Schnurr; editing by Jeffrey Benkoe)