SMARTi watermark
Drag & Drop Card Wiki · Section 06

Responsive Layouts

A comprehensive and user-friendly guide to creating modern, polished, and fully responsive Home Assistant dashboards using the Drag & Drop Card. This wiki combines clear explanations, practical real-world configuration examples, step-by-step walkthroughs, and visual references where they add the most value — making it easy for both beginners and advanced users to design powerful and visually appealing dashboards.

12 sections Config examples HADS-ready exports
Demo focus
Drag, resize, snap, export.
Add screenshots from admin to turn this section into a richer visual guide.

Responsive Layouts


Responsive layouts lets one Drag & Drop Card dashboard adapt to different screen sizes. This is important when the same design should work on a desktop browser, a wall tablet, and a phone.

Instead of shrinking the entire desktop dashboard until it becomes unreadable, create a layout for each important device type. The same cards can be arranged differently for desktop, tablet, and mobile. When the Drag & Drop card in in Auto mode, you can toggle different views for each type of device. Changing the view in one, will not affect the layout in antoher. 

How to design responsively

  1. Design the main tablet or desktop layout first.
  2. Decide which cards are essential on mobile.
  3. Move the most important controls near the top of the mobile layout.
  4. Hide decorative or low-priority elements on small screens.
  5. Test on real devices, not only by resizing a desktop browser.

Settings reference

Dashboard settingYAML settingWhat it doesValue possibilities
Viewport profilesresponsive_viewportsDefines the target screen profiles the dashboard can adapt to.Viewport definitions such as desktop, tablet, mobile, portrait, or landscape.
Responsive card layoutsresponsive_layoutsStores card positions and sizes for each viewport profile.Card layout data for each profile.
Responsive connectorsresponsive_connectorsStores connector paths or positions that differ by viewport.Connector layout data for each profile.
Optimize for mobileoptimize_for_mobileEnables mobile-oriented layout behavior where supported.true or false.
Mobile dynamic behaviormobile_dynamic_behaviorLets DDC adjust behavior dynamically on smaller screens.true or false.
Image slotAdd desktop, tablet, and mobile screenshots of the same dashboard.
Last updated 2026-05-28.