Repository navigation
Feature Scroll Buttons
tempus2016 edited this page Jun 24, 2026
·
2 revisions
When a horizontal tab bar has more tabs than fit, show ‹ › buttons to scroll it (in addition to touch/trackpad scrolling).
Config key: scroll_buttons (top-level boolean) · Default: false
type: custom:tabdeck-card
scroll_buttons: true
tabs:
- { name: Climate, icon: mdi:thermostat, card: { ... } }
- { name: Lighting, icon: mdi:lightbulb, card: { ... } }
# ...many more...
- The buttons appear only when the bar actually overflows (and only for
top/bottombars). - Each click scrolls by ~80% of the visible width, smoothly.
- Overflow is re-checked on resize, so the buttons appear/disappear as the card width changes.
- Toggle it with the Scroll buttons when bar overflows switch in the visual editor.
Prefer a jump-to-tab list over scrolling? Set overflow_menu: true instead. When the bar overflows, a ⋯ button appears; clicking it opens a menu of every tab (current one highlighted, disabled tabs greyed) to jump straight to.
type: custom:tabdeck-card
overflow_menu: true
tabs: [ ...many... ]
You can enable scroll_buttons and overflow_menu together or independently.
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