Part of the Views ecosystem · 291 projects
This module adds a new row style to Views that lets you use any installed Layout API layout for each result row. You can then map your Views fields to regions within the chosen layout, giving you full control over the HTML structure of each item in your listings without needing custom templates or theme overrides.
Views Layout Row
Views Layout Row is a Views row plugin that renders each result row with a
layout from the Layout API. Pick a layout, assign each field to a region,
and get full control over the markup of each row, without custom Twig
templates.
Features
"Exclude from display", "Hide if empty", label and style settings (HTML
elements and CSS classes).
layout.
Use cases
How to use it
1. In a view using fields, set the "Show" format to "Layout row".
2. Choose a layout.
3. Assign each field to a region. Fields set to "- None -" are not
displayed.
4. Save the view.
The Views UI live preview is not available for this row style: save the
view and check the page instead.
Requirements
Drupal 10 or 11, with the core Views and Layout Discovery modules.
Upgrading to 1.1
depend on their layout provider.
element, and empty fields are displayed unless "Hide if empty" is
checked. Check your CSS after updating.
Ask your assistant about Views Layout Row
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- layout_discovery Drupal core
- views Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Views ecosystem
Most installed first