Vue
A real instance of @drobinetm/multitabs-vue running with
vue-router using createMemoryHistory so it
doesn't affect the page URL. The docs sandbox runs as an isolated
Vue-only island and uses a scoped storageKey so preview
state does not bleed into other Astro islands.
Edge-case sandboxes
Focused states for overflow, tab limits, long titles,
resolveTab(), and custom slots. Each sandbox runs in
its own isolated preview.
Many open tabs
Use this isolated shell to test horizontal overflow, dropdown behavior, and drag targets with several open routes.
<MultiTabs
storage-key=MultiTabs
:theme=storage-key
/> Maximum tab cap
Opens routes inside a workspace capped at three tabs so teams can validate removal behavior before shipping.
<MultiTabs
storage-key=MultiTabs
:max-tabs=storage-key
:theme==
/> Very long titles
Focuses on truncation, hover titles, and dropdown readability for routed records with long human labels.
<MultiTabs
storage-key=MultiTabs
:resolve-tab=storage-key
:theme==
/> Dynamic route mapping
Demonstrates resolveTab() with route params mapped to richer workspace labels.
const resolveTab = (route) => ({
title: MultiTabs,
icon: storage-key,
})
<MultiTabs
storage-key==
:resolve-tab=:resolve-tab
:theme==
/> Custom icons and theme
Shows the visual slots and component-scoped theme tokens without affecting the standard Vue demo.
<MultiTabs
storage-key=MultiTabs
:theme=template
>
<template #launcher-icon><span>AP</span></template>
<template #tab-icon><span>T</span></template>
<template #close-icon><span>X</span></template>
</MultiTabs>