Interactive configuration
s-navbar is a composable top-navigation shell. Color, surface, size, groups, scroll behavior, and detail treatments can all be adjusted in this single example.
s-navbar is a composable top-navigation shell. Color, surface, size, groups, scroll behavior, and detail treatments can all be adjusted in this single example.
interface NavItem {
text?: string
ariaLabel?: string
}
interface NavLink extends NavItem {
path: string
target?: string
}
type NavbarItem = NavLink
BooleanBooleanBooleanBooleanBooleanBooleanBooleanString, Object{ collapsed: boolean; scrolled: boolean }{ collapsed: boolean; scrolled: boolean }{ collapsed: boolean; scrolled: boolean }