# Layout and Navigation ## Layout Components ### FluentLayout Root layout container. Use as the outermost structural component. ```razor ... ... ... ``` ### FluentHeader / FluentFooter Sticky header and footer sections within `FluentLayout`. ```razor App Title Settings ``` ### FluentBodyContent Main scrollable content area within `FluentLayout`. ### FluentStack Flexbox container for horizontal or vertical layouts. ```razor One Two ``` Parameters: `Orientation`, `HorizontalGap`, `VerticalGap`, `HorizontalAlignment`, `VerticalAlignment`, `Wrap`, `Width`. ### FluentGrid / FluentGridItem 12-column responsive grid system. ```razor Card 1 Card 2 ``` Size parameters (`xs`, `sm`, `md`, `lg`, `xl`, `xxl`) represent column spans out of 12. Use `AdaptiveRendering="true"` to hide items that don't fit. ### FluentMainLayout (convenience) Pre-composed layout with header, nav menu, and body area. ```razor ``` ## Navigation Components ### FluentNavMenu Collapsible navigation menu with keyboard support. ```razor Home Counter Users Roles ``` Key parameters: - `Width` — width in pixels (40px when collapsed) - `Collapsible` — enables expand/collapse toggle - `Expanded` / `ExpandedChanged` — bindable collapse state - `CollapsedChildNavigation` — shows flyout menus for groups when collapsed - `CustomToggle` — for mobile hamburger button patterns - `Title` — aria-label for accessibility ### FluentNavGroup Expandable group within a nav menu. ```razor General Profile ``` Parameters: `Title`, `Expanded`/`ExpandedChanged`, `Icon`, `IconColor`, `HideExpander`, `Gap`, `MaxHeight`, `TitleTemplate`. ### FluentNavLink Navigation link with active state tracking. ```razor Page Title ``` Parameters: `Href`, `Target`, `Match` (`NavLinkMatch.Prefix` default, or `All`), `ActiveClass`, `Icon`, `IconColor`, `Disabled`, `Tooltip`. All nav components inherit from `FluentNavBase` which provides: `Icon`, `IconColor`, `CustomColor`, `Disabled`, `Tooltip`. ### FluentBreadcrumb / FluentBreadcrumbItem ```razor Home Products Current Page ``` ### FluentTab / FluentTabs ```razor Details content History content ```