AccrueAdmin.Components.PageHeader (accrue_admin v1.5.0)

Copy Markdown View Source

Shared page-orientation header for admin pages.

PageHeader owns the breadcrumb/title/header chrome and bounded slots for caller-owned page controls. Resource state, filters, query params, tables, flashes, and shell layout stay with the caller.

Summary

Functions

page_header(assigns)

Attributes

  • breadcrumbs (:list) (required)
  • title (:string) (required)
  • heading_id (:string) - Defaults to nil.
  • class (:any) - Defaults to nil.
  • component_group (:string) - Defaults to "page-header-actions-breadcrumbs".
  • Global attributes are accepted.

Slots

  • description
  • stat_strip
  • actions
  • filter_toolbar