We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The JavaScript AppBar, also known as an action bar or nav bar, displays information and actions related to the current application screen. It is used to show branding, screen titles, navigation, and actions. The control supports height modes, color modes, positioning, and more.


Size

Display the AppBar with predefined sizes: normal, long, or short. The size of an AppBar can be changed using the regular, prominent, and dense properties.

JavaScript AppBar size


Color

The AppBar has predefined background colors for different visual representations: light, dark, primary, and inherit.

JavaScript AppBar color


Position

A row of content can be aligned horizontally at the top or bottom of the AppBar.

JavaScript AppBar position


Sticky

AppBar can stick to the top of a page while scrolling the content.

JavaScript AppBar sticky


Content alignment

The JavaScript AppBar component aligns the content using a spacer and separator.

JavaScript AppBar content alignment


Responsive design

The AppBar layout will adjust automatically to the current screen size.

JavaScript AppBar responsive design


Separator

A separator is a vertical line that visually separates or groups items in an AppBar.

JavaScript AppBar separator


Developer-friendly APIs

Developers can control the appearance and behaviors of the AppBar using a rich set of APIs.

Built-in themes

The HTML5/JavaScript AppBar component supports built-in themes: Material, Bootstrap, Fabric (Office 365), Tailwind CSS, and high contrast. Users can customize these built-in themes or create new themes to achieve their desired look and feel by either simply overriding SASS variables or using our Theme Studio application.


JavaScript AppBar code example

Easily get started with the JavaScript AppBar using a few simple lines of HTML and TS code, as demonstrated below. Also explore our JavaScript AppBar example that shows how to render and configure an AppBar in JavaScript.

<div class="control-section">
    <div class="content-wrapper">
        <header id="appbar">
            <button id="defaultButtonMenu"></button>
            <span class="regular" style="margin:0 5px">EJ2 AppBar</span>
            <div class="e-appbar-spacer"></div>
            <button id="defaultButtonLogin"></button>
        </header>
    </div>
</div>
import { loadCultureFiles } from '../common/culture-loader';
import { AppBar } from "@syncfusion/ej2-navigations";
import { Button } from "@syncfusion/ej2-buttons";

/**
 * Default AppBar sample
*/

    loadCultureFiles();
    const appbarObj: AppBar = new AppBar({
        colorMode: 'Primary'
    });
    appbarObj.appendTo("#appbar");

    const defaultButtonMenuObj: Button = new Button({ cssClass: 'e-inherit', iconCss: 'e-icons e-menu' });
    defaultButtonMenuObj.appendTo('#defaultButtonMenu');

    const defaultButtonLoginObj: Button = new Button({ cssClass: 'e-inherit', content: 'FREE TRIAL' });
    defaultButtonLoginObj.appendTo('#defaultButtonLogin');

Other supported frameworks

The AppBar component is also available in Blazor, React, Angular, and Vue frameworks. Check out the component on other platforms using these links:




85+ JAVASCRIPT UI CONTROLS

Frequently Asked Questions

  • A simple and highly customizable interface.
  • Customizable height, theme color, position, and more.
  • Effortless integration with components like Button, Dropdown Menu, Menu Bar, and more.
  • Standard, predefined, and contextual color variants.
  • Industry-standard themes included: Material, Fabric, and Bootstrap.
  • Support for all modern browsers.
  • Touch-friendly and responsive UI.
  • Extensive demos and documentation to let you get started quickly with the JavaScript AppBar.

We do not sell the JavaScript AppBar separately. It is only available for purchase as part of the Syncfusion team license. This contains over 1,800 components and frameworks, including the JavaScript AppBar. The price of the team license starts at $395 per month for 5 developers, and includes support and updates until the subscription expires. In addition, we might offer discounts based on currently active promotions. Please contact our product specialists today to see if you qualify for any additional discounts.

You can find our JavaScript AppBar demo, which demonstrates how to render and configure the AppBar.

No, our 1,800+ components and frameworks for web, mobile, and desktop, including our JavaScript AppBar, are not sold individually. They are only available as part of a team license. However, we have competitively priced the product, so it only costs a little bit more than what some other vendors charge for their AppBar control alone. We have also found that, in our experience, our customers usually start off using one of our products and then expand to several products quickly, so we felt it was best to offer all 1,800+ components and frameworks for a subscription fee that starts at $395 per month for a team of 5 developers. Additionally, we might be able to offer discounts based on currently active promotions. Please contact our product specialists today to see if you qualify for any additional discounts.

No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.

A good place to start would be our comprehensive getting started documentation.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Transform your applications today by downloading our free evaluation version
Download Free Trial No credit card required.

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon