# `PhoenixKitLocations.Web.Components.FilesCard`
[🔗](https://github.com/BeamLabEU/phoenix_kit_locations/blob/0.4.2/lib/phoenix_kit_locations/web/components/files_card.ex#L1)

Reusable Files + Featured Image card body. Renders the same UI
for Location, floors, and rooms — each instance scoped by the
`scope` attr, which is forwarded as `phx-value-scope` on every
event button. The single shared upload config is owned by the
parent LiveView; each dropzone here also sets `:active_upload_scope`
on click so the upload routes to the right folder.

# `files_card_body`

## Attributes

* `scope` (`:string`) (required)
* `state` (`:map`) (required) - Map from `Attachments.state/2`.
* `uploads` (`:map`) (required)
* `featured_subtitle` (`:string`) - Defaults to `nil`.
* `files_subtitle` (`:string`) - Defaults to `nil`.
* `remove_file_confirm` (`:string`) - Defaults to `nil`.

---

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