# `MishkaGervaz.Table.Dsl.Layout`
[🔗](https://github.com/mishka-group/mishka_gervaz/blob/v0.0.1-alpha.3/lib/mishka_gervaz/table/dsl/layout.ex#L1)

Layout section DSL definition for table configuration.

Holds the table chrome — `header`, `footer`, and `notice` entities —
mirroring the form layout section so authors learn one pattern.

Each chrome entity supports `visible` and `restricted` for the same
access conventions used by `column`/`filter`/`row_action`.

## Example

    mishka_gervaz do
      table do
        identity do
          name :pages
        end

        layout do
          header do
            title "Pages"
            description "All published and draft pages."
            icon "hero-document-text"
          end

          footer do
            content "Sorted by priority."
            class "mt-2 text-xs text-gray-400"
          end

          notice :archived_warning do
            position :before_table
            type :warning
            icon "hero-archive-box"
            title "Viewing archived records"
            bind_to :archived_view
          end
        end

        columns do
          column :name
        end
      end
    end

# `section`

Returns the layout section definition.

---

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