View Source Phoenix.WebComponent.PageHeader (Phoenix.WebComponent v3.2.4)
render Page Header
Link to this section Summary
Functions
Generates a Page header.
Link to this section Functions
Generates a Page header.
example
Example
<.wc_page_header>
<:menu to={~p"/storybook"}>
Storybook
</:menu>
<:user_profile>
(^_^)
</:user_profile>
</.wc_page_header>
attributes
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
Slots
menu
- Appbar menus. Accepts attributes:class
(:string
)to
(:string
)
user_profile
- Appbar right side user_profile.