Use the payloadcms tabs
<ul class="doc-tabs__tabs">
<li class="doc-tab doc-tab--active">
<a class="doc-tab__link" tabindex="-1" href="#">
<span class="doc-tab__label">Edit</span>
</a>
</li>
<li class="doc-tab">
<a class="doc-tab__link" tabindex="0" href="#">
<span class="doc-tab__label">API</span>
</a>
</li>
<li class="doc-tab">
<a class="doc-tab__link" tabindex="0" href="#">
<span class="doc-tab__label">Other</span>
</a>
</li>
</ul>