UI Patterns Media Source
No security coverage
Ui ecosystem
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.