Facebook Inc. 's sprawling campus in Menlo Park, Calif., is so full of cushy perks that some employees may never want to go home. Soon, they'll have that option.

The social network said this week it is working with a local developer to build a $120 million, 394-unit housing community within walking distance of its offices. Called Anton Menlo, the 630,000 square-foot rental property will include everything from a sports bar to a doggy day care.

Even in Silicon Valley, where tech companies compete to lure coveted engineers with over-the-top perks and offices that resemble adult playgrounds, Facebook's plan breaks new ground.

A Facebook spokeswoman said employee retention wasn't a major factor in the real estate push. "We're certainly excited to have more housing options closer to campus, but we believe that people work at Facebook because what they do is rewarding and they believe in our mission," she said.

Some employees had inquired about places to live near the corporate campus, she said, amid a housing shortage in Menlo Park.