Skip to main content
Version: v11.7.1

Nav Bar Overview


Nav Bar is available only for web responsive apps.

Nav Bar Widget can be used to create responsive navigation header for your website or application. These responsive navbars are initially collapsed on devices having small viewports like cell-phones but expand when user click the toggle button. However, it will be horizontal as normal on the medium and large devices like laptop or desktop.

You can also create different variations of the navbar such as navbars with drop-down menus and search boxes as well as fixed positioned navbar with much less effort.

WaveMaker Nav Bar widget is used in the implementation of the default topnav when the page layout is chosen to include the same. Following features are available:

  1. Title and _image _for the navbar can be specified
  2. Two nav widgets are provided and each can be customized to include Anchor, Menu, Popover, Button. Each of these nav widgets is aligned to the left and right of the Nav Bar. Click here for nav widget usage.


TitleSet the title of the Navbar. This name is used for the first (home) link of the navbar.
NameThe name is a unique identifier for Navbar.
Home LinkThis property can be used to specify the URL for the home link. By default, this is set to the Home page set in the Project Configuration dialog.
HeightThe height of your widget can be specified in px or % (i.e 50px, 75%).
Image SourceThis bindable property specifies the source for the brand image. The source can be either a file or a URL: - File: enter the directory and filename for the image to display (supported file types include .jpg, .gif and .png). By default, WaveMaker looks for images in the src/main/webapp directory of the project. - URL: enter a URL to any internet-accessible image. To display the file, foo.jpg, in the project directory src/main/webapp/resources/images/imagelists/, enter the following into the source property: resources/images/imagelists/foo.jpg or simply foo.jpg
ShowShowing determines whether or not a component is visible. It is a bindable property.
Load on Demand (visible only when show property is bound to a variable)When this property is set and show property is bound, the initialization of the widget will be deferred till the widget becomes visible. This behavior improves the load time. Use this feature with caution, as it has a downside (as we will not be able to interact with the widget through script until the widget is initialized). When show property is not bound the widget will be initialized immediately.
Menu iconThis property sets the icon for the menu button that will appear in the mobile layout ONLY.

See Also

Navigation Properties and Events
Basic Usage
Creating a Dropdown Menu
Dynamic Menu based on the User Role