NavigationLoadingBar
Client-only top bar driven by NavigationLoadingContext and GlobalLoadingContext.
Behavior
- Renders
nulluntilisClientand visible. - When
isNavigatingor global loading: shows bar, animates pseudo-progress toward 90% on an interval. - On idle: jumps to 100%, hides after 500ms.
aria-labelprefersLoading ${targetPath}...elseloadingMessage.
Usage
Mount once in site chrome (typically beside NavigationLoadingProvider). No props.
Sources: src/app/components/ui/NavigationLoadingBar.tsx, @lib/context/NavigationLoadingContext, @lib/context/GlobalLoadingContext