Header

Dashboard

Attribute Type Documentation Default Value
id :string

prefix of the menu ids and the hook's element; unique per page

"page-header"
class :any
separator :boolean

draws a rule below the header. Off by default since v2 (TRG-806): the page title stands on the page background above cards, as in Polaris, and spacing separates it

false
more_label :string

the menu button, in the page's language

"More actions"
prev :string

path of the previous record

next :string

path of the next record

prev_label :string

name of the up arrow

"Previous"
next_label :string

name of the down arrow

"Next"
pager_label :string

name of the arrows' group

"Records"
rest :global
Required inner_block * :slot
Dashboard
subtitle :slot
badges :slot

status badges right of the title, outside the heading

leading :slot

sits LEFT of the title — an avatar, a status dot

actions :slot

content that is not a button, before the buttons

primary :slot

the one main action: button attributes and icon

secondary :slot

outline buttons: button attributes and icon

more :slot

"More actions" items: button attributes, icon, danger