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 ASP.NET Core 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 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.

ASP.NET Core AppBar size.


Color

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

ASP.NET Core AppBar color.


Position

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

ASP.NET Core AppBar Position.


Sticky

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

ASP.NET Core AppBar sticky.


Content alignment

The ASP.NET Core AppBar component aligns the content using a spacer and separator.

ASP.NET Core AppBar content alignment.


Responsive design

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

ASP.NET Core AppBar responsive design.


Developer-friendly APIs

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

Built-in themes

The ASP.NET Core AppBar control 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 either by simply overriding SASS variables or using our Theme Studio application.


AppBar code example

Easily get started with the ASP.NET Core AppBar using a few simple lines of CSHTML and C# code, as demonstrated below. Also, explore our ASP.NET Core AppBar example, which shows how to render and configure an AppBar in ASP.NET Core.

@using Syncfusion.EJ2

@section ControlsSection{
    <div class="control-section">
        <ejs-appbar id="defaultAppBar" colorMode="Primary">
            <e-content-template>
                <ejs-button aria-label="menu" id="defaultButtonMenu" cssClass="e-inherit" iconCss="e-icons e-menu"></ejs-button>
                <span class="regular" style="margin:0 5px">EJ2 AppBar</span>
                <div class="e-appbar-spacer"></div>
                <ejs-button id="defaultButtonLogin" cssClass="e-inherit" content="FREE TRIAL"></ejs-button>
            </e-content-template>
        </ejs-appbar>
    </div>
 }
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using EJ2CoreSampleBrowser.Models;
using Microsoft.AspNetCore.Mvc;
using Syncfusion.EJ2.Navigations;
using Syncfusion.EJ2.Buttons;

namespace EJ2CoreSampleBrowser.Controllers
{
    public partial class AppBarController : Controller
    {
       
        public IActionResult DefaultFunctionalities()
        {
            return View();
        }
      
    }
}

Other supported frameworks

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



80+ ASP.NET CORE UI CONTROLS

Read independent,
authenticated reviews
on G2

Download Now Pricing

What do our customers say about us?

double quotes

Syncfusion controls contain almost everything a developer could ask for, saving us time and money. All backed up by unmatched support. Syncfusion controls are a developer's dream come true.
Kevin Kerr

Kevin Kerr

Kirk-Rudy

double quotes

I would highly recommend using Essential Studio and have found that the Syncfusion support team is one of the fastest I have worked with.
Georg Kukula

Georg Kukula

G&W Software Entwicklung GmbH

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