PhoenixDuskmoon.Component.PageHeader (PhoenixDuskmoon v7.2.1)
View SourceDuskmoon UI PageHeader Component
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)