# `PhoenixKitCatalogue.Web.TableToolbar`
[🔗](https://github.com/BeamLabEU/phoenix_kit_catalogue/blob/v0.19.1/lib/phoenix_kit_catalogue/web/table_toolbar.ex#L1)

Toolbar pieces for the catalogue admin tables: the column-settings modal,
the sort select+direction control, and an enum filter select. All emit
plain events handled by `CataloguesLive` against the active scope.

# `column_settings_modal`

## Attributes

* `show` (`:boolean`) (required)
* `scope` (`:atom`) (required)
* `selected` (`:list`) (required)

# `enum_filter`

## Attributes

* `id` (`:string`) (required)
* `label` (`:string`) (required)
* `value` (`:string`) - Defaults to `nil`.
* `options` (`:list`) (required)
* `prompt` (`:string`) (required)

# `sort_controls`

## Attributes

* `scope` (`:atom`) (required)
* `selected` (`:list`) (required)
* `sort_by` (`:string`) (required)
* `sort_dir` (`:atom`) (required)
* `manual_value` (`:string`) - sort_by value that means "manual/drag order" (e.g. "position"). When active, the direction toggle is hidden — direction has no meaning for a user-dragged order. Defaults to `nil`.

---

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