Repository navigation
Feature Content Shortcuts
tempus2016 edited this page Nov 21, 2026
·
1 revision
Some tabs only need one thing. These keys fill a tab without writing a card:.
A tab's own card, cards, sections or children wins over them.
A tab can show the cards of a view you already have, on this dashboard or another one, without copying them. Change the view and the tab follows on the next page load.
type: custom:tabdeck-card
tabs:
- name: Home
card: { type: markdown, content: Welcome home }
- name: Energy
icon: mdi:flash
view: /energy-dash/energy
- name: Rooms
view: /lovelace/rooms-
view: /<dashboard>/<view>names the dashboard by its URL (lovelaceis the default dashboard) and the view by its path, its number (from0) or its title. Leave the view out (view: /energy-dash) for the first view. - The object form does the same:
view: { dashboard: energy-dash, view: energy }. - A sections view keeps its sections; a masonry view's cards are balanced into columns; a panel view shows its one card. View badges aren't shown.
- The dashboard is read once per page load (read only), however many tabs use it.
- If the dashboard or view doesn't exist, or the dashboard is generated automatically (the default Overview before you take control of it, the Energy and Map dashboards), the tab says so instead.
- A tab can't show the view it sits on.
- In the visual editor, type the view into a tab's Show a dashboard view field.
A tab can show a website, such as a router page or a self-hosted app, with one line:
tabs:
- name: Reports
icon: mdi:web
url: http://192.168.1.50:8080
aspect_ratio: 75% # optional-
urlbecomes Home Assistant's own iframe card, so it behaves exactly like one.aspect_ratiois passed on to it (75%,16:9; HA's default is50%). - The same limits as the iframe card apply: many websites refuse to be shown inside another page,
and a dashboard opened over
httpscan't show anhttppage. - Need more of the iframe card's options? Write a
card: { type: iframe, ... }instead. - In the visual editor, use a tab's Show a web page (URL) field.
A tab of notes, instructions or a status summary, without writing a card:
tabs:
- name: Notes
icon: mdi:note-text
markdown: |
## House notes
- Bins out on **Tuesday**
- The boiler is {{ states('climate.boiler') }}-
markdownbecomes Home Assistant's own markdown card with that text as itscontent, so Markdown and templates work as they do there. - For the markdown card's other options (
title,text_only, …) write acard: { type: markdown, ... }instead. - In the visual editor, use a tab's Show text box.
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