NavMenu
IzzyBlazor.NavMenu in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.17 assembly
and its doc comments.
Properties (2)
OrientationOrientation = Orientation.VerticalVertical for sidebars (the default), horizontal for header bars.
ChildContentRenderFragment?The items: NavItem, NavGroup, NavLabel, NavDivider.
Plus 16 item props and 4 common props.
Show them hereEvents (0)
No events.
Parts (4)
Components written inside NavMenu, documented here with it.
Types (4)
Accent
classThe color of a control: buttons, badges, tags, banners, progress bars and menu items. Primary, Neutral and Danger are the roles; emphasis comes from the variant (solid, soft, outline, ghost, link), not from more colors. For one control in another color, use Of (any CSS color) or Token (a theme token); text on it is chosen for contrast.
| Member | Description |
|---|---|
Primary | The brand color, for the main action. |
Neutral | A quiet, gray action. |
Danger | A destructive action, such as Delete. |
Of(string css) | Any CSS color, such as |
Token(string name) | A theme token, such as |
From(Color color) | A |
BadgeVariant
enumA badge's visual weight.
| Value | Description |
|---|---|
Soft | A light tint of the color (the default). |
Solid | Filled with the color. |
Outline | A colored border. |
Plain | Just the text, in the color's text shade, with no fill or border: a quiet count, such as the totals beside sidebar links. Neutral is a muted gray. |
Orientation
enumWhether items run across or down.
| Value | Description |
|---|---|
Vertical | Top to bottom. |
Horizontal | Side by side, wrapping when space runs out. |
Status
enumThe meaning of a piece of feedback: badges, and later alerts and toasts. Status colors are for telling people what happened, not for actions; see Accent.
| Value | Description |
|---|---|
Neutral | No particular meaning (the default). |
Info | Information, such as "New" or "Beta". |
Success | Done or healthy, such as "Published". |
Warning | Needs attention, such as "In review" or "Expiring". |
Danger | Failed or blocked, such as "Error" or "Overdue". |