Naming a legal guardian for your underage children is a common provision in a will. You also have the ability to appoint a conservator for adult children who may be unable to make certain decisions.
If you do not appoint a legal guardian via a will, the court will appoint one upon your death. For this reason, it is important even if it seems like commonsense to make sure you designate a guardian in your will.