--- robots: noindex, nofollow tags: pitch --- # Converge Tabs ### Problem The Tabs component has some remaining convergence work that was put on hold until after the v8 release. This includes: * Renaming from Pivot to Tabs * Refactor to composition with hooks * Refactoring the headers to use the new Button * Adding support for slots and style tokens * Add variant support ### Appetite This should take about 2-3 weeks, while being done alongside other convergence work for Avatar and Badge. ### Solution Each bullet above is a small-to-medium size task that involves some refactoring and rewriting styles. * Renaming to Tabs requires renaming many individual props and other components. This HackMD includes some thoughts about the naming replacements to happen: [Renaming Pivot to Tabs](https://https://hackmd.io/jDytiF_kQuW2hNELbxgNqA) * Possibly will need add a thin wrapper component called Pivot around the newly-renamed tabs? Or just rely on codemods for the upgrade? * Refactoring to use the new button will also require an API breaking change, since the old PivotHeader allows old Button props to be specified in its API. ### Risks (Rabbit holes) This involves a lot of changes to the API. There's a balance between making the new API great, and maintaining a simple upgrade path from the existing API. Finding the right balance could end up taking a long time. ### Out of scope (No-gos) * Additional features and fixes for tabs (e.g. new overflow behaviors) * Any other cleanup not mentioned above.