Leading by example in pediatrics means that healthcare professionals, including doctors, nurses, and other staff, demonstrate the behaviors, attitudes, and values they wish to see in their patients and their families. This approach can significantly influence a child's development, health outcomes, and overall well-being.