Developer Programs

Learn

Docs

Nav Separator

Components > Application Layout > Nav Separator
Use this component to...
Separate and group related navigation items in your nav bar

Overview

Use this component to group related navigation items in your nav bar.


Development

Web component development

Component reference

rui-nav-separator
rui-nav-separator
Module: rui-nav - Package: @jkhy/responsive-ui-wc

Separator between groups of top-level buttons in nav bar

No properties or events

Implementation

Begin by importing the rui-nav module into your application.

Import the module
// import into app.module
import '@jkhy/responsive-ui-wc/components/rui-nav/rui-nav-imports';

The example below adds a nav separator between two navigation options.

Using the component
<rui-nav>

    <rui-nav-button iconType="account" text="Accounts" route="/#/Accounts"></rui-nav-button>

    <rui-nav-separator></rui-nav-separator>

    <rui-nav-button iconType="settings" text="Settings" route="/#/Settings"></rui-nav-button>

</rui-nav>

Angular wrapper development

Wrapper reference

jha-nav-separator
jha-nav-separator
Module: JhaNavModule - Package: @jkhy/responsive-ui-angular

Separator between groups of top-level buttons in nav bar

No properties or events

Implementation

Begin by importing the JhaNavModule into your application.

Import the module
// import into app.module
import { JhaNavModule } from '@jkhy/responsive-ui-angular/jha-nav';

@NgModule({
    imports: [
        ...
        JhaNavModule,
        ...
    ]
})

export class AppModule(){}

The example below adds a nav separator between two navigation options.

Using the component
<jha-nav>

    <jha-nav-button jhaIconType="Account" jhaText="Accounts" jhaRouterLink="/Accounts"></jha-nav-button>

    <jha-nav-separator></jha-nav-separator>

    <jha-nav-button jhaIconType="Settings" jhaText="Settings" jhaRouterLink="/Settings"></jha-nav-button>

</jha-nav>

Design

Figma design

Figma design info
You can find this component in the Components - Application Layout page in the Figma UI Kit.
Dev ComponentDesign Component Name
Nav separator

RUI / Nav / Separator

Turn on the Collapsed property for a collapsed nav bar; leave it off for an expanded nav bar


Adobe XD design

Adobe XD design info
You can find this component in these artboards in the Adobe XD design samples:
  • Layout - nav, Expanded Nav, Function View
  • Layout - nav, Collapsed Nav, Function View
  • Layout - Nav Elements - Expanded Nav Bar
  • Layout - Nav Elements - Collapsed Nav Bar
  • Layout - Nav Mega Menu
  • Layout - nav Elements – Basics
  • Layout - nav Menu Buttons
  • Layout - nav Mega Menu
  • Layout - Mobile Application
  • Layout - Tablet Application – Portrait
  • Layout - Tablet Application - Landscape
Dev ComponentDesign Component Name
Nav separator - expandedJHA / Nav / Expanded / Separator
Nav separator - collapsedJHA / Nav / Collapsed / Separator

Support options
Have questions on this topic?
Join the Responsive UI team in Microsoft Teams to connect with the community.
See something in this page that needs to change?
Send us feedback on this page.
Last updated Fri Jul 28 2023