A two-and-a-half-mile route will be closed to traffic from 11 a.m. to 4 p.m. so pedestrians and bicyclists can safely participate in the fun.

The route will start at the Civic Center and travel along Golden Gate Avenue, and Jones, Ellis and O'Farrell streets in the heart of the Tenderloin, organizers said.

"Through Sunday Streets we are able to create temporary open space and recreational opportunities in neighborhoods that need it most," San Francisco Mayor Ed Lee said.

"The Tenderloin is one of the most densely populated communities in our city, and there are not a lot of open spaces or safe places for residents to recreate and relax," Lee said.

Sunday's activities include the San Francisco Public Library's third annual Tricycle Music Festival, featuring music geared toward children and families, on the main library's steps from 11 a.m. to 2 p.m.

The City's Department of the Environment will host an "Eco Zone" on Grove Street, between Hyde and Larkin streets, that will feature activities with an environmental theme.

Other activities include square dancing and break dancing lessons, free bike rentals, and a Funky Town Roller Disco with free skate rentals.