SiteNav
IzzyBlazor.SiteNav in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.17 assembly
and its doc comments.
Properties (6)
ChildContentRenderFragment?The links: NavItem, plus NavDivider or NavLabel, and any SiteNavFooter.
BreakpointBreakpoint = Breakpoint.MdBelow this width the links fold into the menu button. Defaults to Breakpoint.Md.
Labelstring? (computed)The navigation landmark's name for screen readers. Defaults to "Site", so it differs from the sidebar's "Main".
Idstring?The panel's id. Generated when not set.
Item props (from LayoutItemBase)
Margin on all sides, in spacing steps (-16 to 16; one step = 4px).
Width.
Minimum width.
Maximum width.
Growbool = falseWhether to grow into free space inside a Stack, Row or Column: <Box Grow>.
Shrinkbool = trueWhether to shrink when space is short inside a Stack, Row or Column. Defaults to true; Shrink="false" keeps the size.
Starting size inside a Stack, before growing or shrinking.
Alignment across the parent's direction, overriding the parent's Align for this component only, such as a button lined up with the bottom of labeled fields in a Row.
Common props (from IzzyComponentBase)
Classstring?Extra CSS classes, merged after the component's own classes.
Stylestring?Inline style, appended after the component's generated custom properties.
VisibleFromBreakpoint?Shows the component only from this breakpoint up, such as header links for wide screens.
Events (0)
No events.
Parts (1)
Components written inside SiteNav, documented here with it.
Types (2)
Breakpoint
enumThe responsive breakpoints. Mobile first: a value at a breakpoint applies from that width upward.
| Value | Description |
|---|---|
Sm | 640px and wider. |
Md | 768px and wider. |
Lg | 1024px and wider. |
Xl | 1280px and wider. |