This module provides a way for content editors to select media from the Drupal Media Library when building components. It integrates with the Media Library, offers live thumbnail previews, and works with tools like Display Builder. The selected media can be configured by type and its output can be flexible, with proper caching for updates.
Provides a Media Browser source plugin for UI Patterns, allowing content editors to select media (images, videos, documents) from Drupal's Media Library when building components with Display Builder or UI Patterns.
Features
- Media Library integration — Select media directly from Drupal's standard Media Library interface, with full filtering and search support.
- Native dialog — Uses the browser's native element for a lightweight, accessible modal experience.
- Live thumbnail preview — Shows the selected media thumbnail immediately after selection.
- Display Builder ready — Works seamlessly as a source plugin in Display Builder component trees.
- Single Content Sync compatible — Selected media entities are exported alongside content with UUID support for cross-site imports.
- Configurable media types — Choose which media types (image, video, document, etc.) are available for selection via the admin settings page.
- Flexible output — Supports slot (rendered view mode) and URL (with optional image style) prop types to fit different component needs.
- Proper caching — Component output is automatically invalidated when the selected media or image style is updated.
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.
More in the UI ecosystem
Most installed first
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.0-beta1 | Pre-release | 9–11 | Aug 12, 2026 | ||
| 1.0.0-alpha1 | Pre-release | 11 | Jul 23, 2026 |