Tabs
Switch between labeled panels with mouse or arrow keys.
Update your display name and contact details.
Manage sign-in methods and active sessions.
Choose which updates reach your inbox.
HTML
<div class="rl-tabs rl-tabs-vertical" data-rl-tabs>
<div class="rl-tabs-list" role="tablist" aria-label="Account settings" aria-orientation="vertical">
<button class="rl-tab" type="button" role="tab" id="settings-tab-profile"
aria-selected="true" aria-controls="settings-panel-profile">Profile</button>
<button class="rl-tab" type="button" role="tab" id="settings-tab-security"
aria-selected="false" aria-controls="settings-panel-security" tabindex="-1">Security</button>
<button class="rl-tab" type="button" role="tab" id="settings-tab-mail"
aria-selected="false" aria-controls="settings-panel-mail" tabindex="-1">Notifications</button>
</div>
<div role="tabpanel" id="settings-panel-profile" aria-labelledby="settings-tab-profile" tabindex="0">Update your display name and contact details.</div>
<div role="tabpanel" id="settings-panel-security" aria-labelledby="settings-tab-security" tabindex="0" hidden>Manage sign-in methods and active sessions.</div>
<div role="tabpanel" id="settings-panel-mail" aria-labelledby="settings-tab-mail" tabindex="0" hidden>Choose which updates reach your inbox.</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>