Takes a node and turns some of its children into tabs.