The best kid friendly park in Hayes Valley, San Francisco is probably Hayes Valley Playground. But if that is not enough park for you, there is always Duboce Park a little to the south (a great dog friendly park too) and Beuna Vista Park just to west. (Of course, if you are willing to make a bit more of a trek, there is also the wonders of Golden Gate Park.