Skip to content

BeechCMS


BeechCMS / @beechcms/core / DashboardPageLayout

Interface: DashboardPageLayout ​

Properties ​

icon? ​

optional icon?: string

Icon name, same convention as DashboardSeedConfig.icon (a reicon-react icon, not a Lucide one).


id ​

id: string


label ​

label: string


roles? ​

optional roles?: string[]

Ids (not names) of the roles this tab targets. Absent or empty = every caller. Non-empty = callers holding at least one of them through an active assignment, at any scope.


sections ​

sections: DashboardSection[]


slug ​

slug: string

URL identity (?page=<slug>). Unique within the layout.