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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The React 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 component supports height mode, color mode, positioning, and more.


Size

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

React AppBar size.


Color

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

React AppBar color.


Position

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

React AppBar position.


Sticky

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

React AppBar sticky.


Content alignment

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

React AppBar content alignment.


Responsive design

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

React AppBar responsive design.


Developer-friendly APIs

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

Built-in themes

The React 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.


AppBar code example

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

import * as ReactDOM from 'react-dom';
import * as React from 'react';
import { AppBarComponent } from "@syncfusion/ej2-react-navigations";
import { ButtonComponent } from '@syncfusion/ej2-react-buttons';
import { SampleBase } from '../common/sample-base';

export class Default extends SampleBase<{}, {}> {

  render() {
    return (
      <div className='control-pane'>
        <div className='control-section'>
            <AppBarComponent colorMode="Primary">
                <ButtonComponent cssClass='e-inherit' iconCss='e-icons e-menu'></ButtonComponent>
                <span className="regular" style=>React AppBar</span>
                <div className="e-appbar-spacer"></div>
                <ButtonComponent cssClass='e-inherit'>FREE TRIAL</ButtonComponent>
            </AppBarComponent>
        </div>
      </div>
    )
  }
}

Other supported frameworks

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



80+ REACT UI COMPONENTS

Read independent,
authenticated reviews
on G2

Download Now Pricing

What do our customers say about us?

double quotes

We're using the file formats and Windows/JavaScript list controls a lot. They're fast, easy to use, and the documentation is good and contains examples. Tickets with questions or suggestions were answered within a day, so we're happy to use the Syncfusion libraries.
Daniel Persidok

Daniel Persidok

wpd onshore GmbH & Co. KG

double quotes

Using Syncfusion Angular and JavaScript controls makes front-end web development a piece of cake. Each component has many properties that can be configured as per your desire, methods that can be used to interact with the element, and a lot of events that trigger at different stages, which makes modifying your components according to the state of the application an easy task. Also, their support is amazing! They always offer a sample working project, which makes it very simple to solve your question about your code.
Carlos Rodriguez Garcia

Carlos Rodriguez Garcia

Vistatec

Transform your applications today by downloading our free evaluation version Download Free Trial

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

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile