# `PhoenixKitWeb.Live.Users.MediaSelector`
[🔗](https://github.com/BeamLabEU/phoenix_kit/blob/v1.7.87/lib/phoenix_kit_web/live/users/media_selector.ex#L1)

Generic media selector LiveView.

Provides a reusable interface for selecting media files from anywhere in the admin panel.
Supports both single and multiple selection modes.

## Usage

    # Navigate to selector with query params
    /admin/media/selector?return_to=/admin/publishing/edit&mode=single&filter=image

## Query Parameters

- `return_to` - URL to navigate back to (required)
- `mode` - "single" or "multiple" (default: "single")
- `selected` - Comma-separated pre-selected file IDs (optional)
- `filter` - "image", "video", "all" (default: "all")
- `page` - Page number for pagination (default: "1")

# `handle_event`

# `handle_params`

# `mount`

# `render`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
