The tale of "Peter Pan" is rife with symbolism of the original author's life, the nature of growing up and childhood in general, according to Neatorama. Peter is also often interpreted symbolically, as he is an eternally young boy who seeks to prevent children from growing up.
One of the most common theories about the symbolism of "Peter Pan" is that Peter symbolizes the author, J.M. Barrie, according to Neatorama. Barrie was the youngest of six children, and his older brother David died at the age of 13. To comfort his mother, Barrie began to emulate David's behavior, a habit he kept up for most of his adolescence. Those who knew the author claim that he did not physically age past 13, a bizarre phenomenon that likely inspired the eternally youthful Peter Pan.
Throughout the various films, literature and commercial adaptations, most literature analysts agree that Peter symbolizes the selfishness of childhood, according to Wikipedia. Throughout Barrie's works, Peter is shown to be a reckless character who is self-centered and forgetful, always tempting the other characters in his universe to forget the values and responsibilities that come with growing up. Aside from Peter himself, windows are a prominent symbol used to demonstrate Peter's lack of attention to his companions.