Repository navigation
Feature Popup
tempus2016 edited this page Nov 21, 2026
·
1 revision
popup: true lets a button on any other card open one of the deck's tabs in a dialog over the dashboard. The button uses Home Assistant's fire-dom-event action with tabdeck_popup set to the tab's name:
# The deck
type: custom:tabdeck-card
popup: true
tabs:
- name: Home
card: { type: tile, entity: light.kitchen }
- name: Cameras
icon: mdi:cctv
card: { type: picture-entity, entity: camera.front_door }# A button anywhere on the same dashboard
type: button
name: Cameras
icon: mdi:cctv
tap_action:
action: fire-dom-event
tabdeck_popup: Cameras- The tab can be its name, its slug (
living-room) or its position (0is the first). - With several decks on the view, the first one that has the tab opens it. To pick one, give the deck an
event_idand sendtabdeck_popup: { tab: Cameras, deck: hall }. - The dialog shows the tab's own card, so it stays live. The deck doesn't change tab. × , Esc or a tap outside closes it.
-
popup: hiddenhides the deck itself, so it's only a source of popups. It's shown as usual while you edit the dashboard, so you can still set it up. - A PIN-locked tab asks for its code first; the popup opens after the right code. If the unlock runs out (
pin_timeout) while the popup is open, its content is replaced by a lock and an Enter PIN button. -
--tabdeck-popup-widthinstylessets the dialog's width (default640px). -
openPopup(tab)andclosePopup()do the same from code.
In the visual editor: Open tabs in a popup from other cards.
Concepts
Features
- All features
- Dynamic tabs
- Remote control & events
- PIN-locked tabs
- Reuse: defaults & templates
- Debug panel
- Developer access
- Pictures, animations & fonts
- 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
- One-line tab content
- Panel transitions
- Content layout
- Duplicate tab
- Expand/Collapse all
- Edit mode helpers
- Why is this tab hidden?
- Starter templates
- Convert from another card
- Languages
- YAML autocomplete
- Dock & floating action tabs
- Dots & content arrows
- Grouped tabs
- Overview grid
- Linked decks
- Tab as popup
- Wizard mode
- Search & shortcuts
- Gestures
- Arrange tabs