Skip to main content
drupalreleases
Release: Drupal 11.4.9 — Update released for Drupal core (11.4.9)! Release: Better Exposed Filters 7.2.0 — Minor update available for module better_exposed_filters (7.2.0). Release: Bootstrap 8.x-3.43 — Minor update available for theme bootstrap (8.x-3.43). Release: Layout Paragraphs 2.1.5 — Minor update available for module layout_paragraphs (2.1.5). Release: Layout Paragraphs 3.0.0 — Major update available for module layout_paragraphs (3.0.0). Release: Book 3.0.8 — Minor update available for module book (3.0.8). Release: Tagify 2.0.5 — Minor update available for module tagify (2.0.5). Release: Editoria11y Accessibility Checker 3.0.11 — Minor update available for module editoria11y (3.0.11). Module Revived: @font-your-face 4.3.0 — Module fontyourface updated after 7 months of inactivity (4.3.0). Security Coverage: Open Y Branch Selector — Module openy_branch_selector now has official Drupal security advisory coverage.

Views Row SDC

23 sites Security covered Drupal 11 · not 10

Part of the Views ecosystem · 280 projects

View on drupal.org

This module allows you to use Single Directory Components (SDCs) as the format for your Views. You can select an SDC and map your View's fields to its properties and slots, eliminating the need for complex template files.

Provides an easy way to display the output of a view using a single directory component. Select a component and connect View fields to props and slots. No need for complicated template files.

Features

  • Adds a new "Show" option under format, alongside "Content view mode" and "Fields" you can select "Single Directory component."
  • Provides a list of components available on the site under settings.
  • Lists Props and Slots of the component, and allows View fields to be mapped to them.
  • Renders the selected SDC for each row of the view result.

Which version should I use?

Two branches are actively supported:

  • Version 1.1.x is compatible with Drupal 10.3 - 12.
  • Version 1.2.x is compatible with Drupal 11.3 - 12.

Unless you need to support Drupal 10, we recommend using the 1.2.x branch. It uses PHP annotations and plugin autowiring, and more modern Drupal standards.

Both are feature equivalent, so ultimately it's your choice.

Support for 1.1.x will be dropped some time after Drupal 10 goes end of life at the end of 2026.

Post-Installation

  1. Install the module in the usual way.
  2. Create or edit a view.
  3. Add any fields and relationships you need.
  4. In the view editor, under "Format", change from "Content view mode" or "Fields" to "Single Directory Component".
  5. In Settings, select the SDC to use from the drop-down list of components.
  6. When a component is selected, the available Props and Slots will be shown. Select the Views field (configured in step 3) to map to.
  7. If you would like to use in Canvas, add a block to "Displays" at the top of the view settings. Your block will be available as a component when building Canvas pages.

Note: it's the responsibility of the View maintainer to ensure that the fields being mapped to properties contain compatible data.

Additional Requirements

This module has no additional requirements, but you do need to have some Single Directory Components available on your site. Please see the Drupal Using Single Directory Components documentation for more details on building and using components.

None (perhaps some modules providing SDC components could be suggested here).

Similar projects

  • UI patterns "UI patterns views" module provides similar functionality, however, it is a lot of overhead to install the entire UI Patterns module just to use it. Definitely a more complete solution, but best used alongside the rest of the UI patterns family.
  • Single Directory Components: Display allows a piece of content to be displayed using a SDC. This can then be displayed in a view using the "Content view mode" option. Works well as long as long as all the values you wish to display are within the same entity.
  • Component views seems to be more about creating views to browse the component library. I haven't installed it yet, but will add more when I do.

Supporting this Module

This module is aimed at making it easier to incorporate Views into low code/no code solutions like Drupal CMS. I think there is scope for incorporating into solutions like Drupal Canvas. If you think you could help with this, please get in touch, or dive into the issue queue!

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
8
Tracked since
Apr 2026
Latest release
2 months ago
Releases (12 mo)
8 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.2.1 Stable 11 Jul 23, 2026
1.1.1 Stable 10–11 Jul 23, 2026
1.2.0 Stable 11 May 28, 2026
1.1.0 Stable 10–11 May 28, 2026
1.2.x-dev Dev 11 May 28, 2026
1.1.x-dev Dev 10–11 May 14, 2026
1.0.0 Stable 11 May 3, 2026
1.0.x-dev Dev 11 Apr 12, 2026