Skip to main content

Layout

Configuration options for the navbar layout and behavior.

NameTypeDefaultDescription
auto_paddingAuto Padding-Add padding to your Home Asistant dashboard to prevent overlaps
reflect_child_stateboolean-Determines if each route item should be displayed as selected when any of its popup items is selected

Auto Padding

Automatically adds padding to your Home Assistnat dashboard to prevent cards from overlapping with navbar-card. This eliminates the need for manual CSS padding adjustments in your Home Assistant theme.

NameTypeDefaultDescription
enabledbooleantrueWhether to automatically add padding to prevent overlaps
desktop_pxnumber100Padding in pixels for desktop mode (applied to left/right based on position)
mobile_pxnumber80Padding in pixels for mobile mode (applied to bottom)
note

The desktop_px padding is automatically applied to the appropriate side of the screen based on your navbar's desktop.position setting.



Example

type: custom:navbar-card
layout:
reflect_child_state: true
auto_padding:
enabled: true
desktop_px: 100
mobile_px: 80