Strabismus has a genetic component, meaning it can run in families. However, it is important to note that not everyone with a family history of strabismus will necessarily develop the condition, and conversely, strabismus can also occur in individuals without a family history.