The child pages widget automatically displays the childpages of the page you’re currently viewing. If the current page has no child pages, the widget will not be visible.
You can also add css class to the <ul>
tag, to match the widget’s styling with your theme.