Amazon.com Inc. has looked at the possibility of expanding its retail footprint by acquiring some locations from bankrupt Toys “R” Us Inc., according to people with knowledge of the situation.

The online giant isn’t interested in maintaining the Toys “R” Us brand, but has considered using the soon-to-be-vacant spaces for its own purposes, said the people, who asked not to be identified because the talks are private.

Such a move would let Amazon quickly expand its brick-and-mortar presence, coming on the heels of buying Whole Foods Market Inc. and its more than 450 locations last year. The Seattle-based company also has opened its own line of bookstores and a convenience-store concept.

Representatives for Amazon and Toys “R” Us declined to comment.

Additional stores would give Amazon space to showcase its popular Echo line of devices, which run on the Alexa voice-activated platform. Amazon sees voice as the next interface for people to access technology — supplanting computer mouses and touch screens — and the benefits may be easier to demonstrate in a real-world setting.

A bigger…