Skip to content

Tab alignment ​

Control how the tabs are distributed along the bar.

Config key: align (top-level) · Values: start (default) · center · end · justify

yaml
type: custom:tabdeck-card
align: justify     # start | center | end | justify
style: pill
tabs: [ ... ]
ValueResult
startTabs packed at the start (default).
centerTabs centred in the bar.
endTabs packed at the end.
justifyTabs stretch to share the full width equally.

Centered tabs

Justified tabs

Notes ​

  • Works with every bar style and position. For vertical (left/right) bars it distributes the tabs along the column.
  • With a scrollable bar that overflows, alignment has no visible effect (the bar scrolls instead).
  • Pick it from the Tab alignment dropdown in the visual editor.