Tabs
Switch between labeled panels with mouse or arrow keys.
The workspace is ready for changes.
Only invited collaborators have access.
Last deployment completed successfully.
HTML
<div class="rl-tabs" data-rl-tabs>
<div class="rl-tabs-list" role="tablist" aria-label="Workspace settings">
<button class="rl-tab" type="button" role="tab" id="demo-tab-overview"
aria-selected="true" aria-controls="demo-panel-overview">Overview</button>
<button class="rl-tab" type="button" role="tab" id="demo-tab-access"
aria-selected="false" aria-controls="demo-panel-access" tabindex="-1">Access</button>
<button class="rl-tab" type="button" role="tab" id="demo-tab-history"
aria-selected="false" aria-controls="demo-panel-history" tabindex="-1">History</button>
</div>
<div role="tabpanel" id="demo-panel-overview" aria-labelledby="demo-tab-overview" tabindex="0">The workspace is ready for changes.</div>
<div role="tabpanel" id="demo-panel-access" aria-labelledby="demo-tab-access" tabindex="0" hidden>Only invited collaborators have access.</div>
<div role="tabpanel" id="demo-panel-history" aria-labelledby="demo-tab-history" tabindex="0" hidden>Last deployment completed successfully.</div>
</div>Use arrow keys to change tabs. Home and End select the first and last tabs.
Use in your app
Copy these tags into your page head once. Serve the files at the paths shown, then add the example’s template to your page.
Page assets
<link rel="stylesheet" href="/mero.css">
<script defer src="/mero.js"></script>