# `PhoenixKitCatalogue.Web.Components.AttributeSetItemsModal`
[🔗](https://github.com/BeamLabEU/phoenix_kit_catalogue/blob/v0.44.2/lib/phoenix_kit_catalogue/web/components/attribute_set_items_modal.ex#L1)

Read-only popup previewing the items attached to ONE attribute set —
opened from the sets listing's Items count (Max's 2026-08-28
direction: the count is the button; the preview is a popup, not a
page). Each row: photo, name (links to the item editor), catalogue /
category, selling price, the item's SELECTED values of this set
(ghost-filtered), and status.

Mount with

    <.live_component
      module={AttributeSetItemsModal}
      id={"attr-set-items-modal-#{set.uuid}"}
      set={set}
      locale={@current_locale}
    />

and render it only while open — the id carries the set uuid and the
parent drops the component on close, so every open mounts fresh
(stale search/page from a previous open is the media-selector trap).
`set` needs `:uuid`, `:name` (display) and `:key` (entities slug).
Closes by sending `{:attr_set_items_modal_closed}` to the parent.

Scale rules as everywhere: server-side trimmed search, 25/page —
a thousand attached items stay flat.

---

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