Repository navigation
Feature Performance
tempus2016 edited this page Jun 24, 2026
·
1 revision
By default Tabdeck keeps every tab's card mounted (so state and scroll position survive switching). For memory-heavy dashboards (lots of cameras/maps), set unmount_hidden: true to keep only the active tab's card in the DOM.
type: custom:tabdeck-card
unmount_hidden: true
tabs: [ ... ]- Only the active panel renders its card; switching re-attaches the target card.
- Trade-off: hidden cards aren't kept warm, so re-showing rebuilds the DOM. Combine with
lazyto also defer the first build.
With swipe enabled, swipe_wrap: true makes swiping past the last tab wrap to the first (and vice-versa) instead of stopping at the ends.
type: custom:tabdeck-card
swipe: true
swipe_wrap: true
tabs: [ ... ]The tab bar's resize handling is debounced to one reposition per animation frame, so the indicator stays smooth during window/layout changes.
Both options are available in the visual editor (Unmount hidden tabs, Swipe wraps around ends).
Concepts
Features
- All features
- Dynamic tabs
- State-driven icons & names
- Alert pulse
- Auto-rotate & idle return
- Navigation & action tabs
- Scroll-spy
- Collapsible deck
- Responsive layouts
- Style presets
- Tab-change actions
- Tab display mode
- Accent indicator
- Extra bar styles
- Indicator thickness
- Sticky tab bar
- Tab alignment
- Badge display mode
- Per-tab colour
- Tab subtitles
- Disabled tabs
- Multiple cards per tab
- Panel transitions
- Duplicate tab
- Expand/Collapse all