View Source PhoenixDuskmoon.PageHeader (PhoenixDuskmoon v4.5.0)
render Page Header
Summary
Functions
Generates a Page header.
Functions
Generates a Page header.
Example
<.dm_page_header>
<:menu to={~p"/storybook"}>
Storybook
</:menu>
<:user_profile>
(^_^)
</:user_profile>
</.dm_page_header>
Attributes
id
(:string
) - html attribute id. Defaults to"wc-page-header-header"
.nav_id
(:string
) - nav html attribute id. Defaults to"wc-page-header-nav"
.class
(:any
) - html attribute class. Defaults to""
.nav_class
(:any
) - nav html attribute class. Defaults to""
.
Slots
menu
- Appbar menus. Accepts attributes:class
(:string
)to
(:string
)
user_profile
- Appbar right side user_profile. Accepts attributes:class
(:string
)