Loading...
Loading...
Implement Syncfusion AppBar component to provide consistent top-level navigation and actions in your ASP.NET Core applications.
npx skill4agent add syncfusion/aspnetcore-ui-components-skills syncfusion-aspnetcore-appbarisStickye-inheritposition="Bottom"isSticky="true"mode="Regular"mode="Prominent"mode="Dense"colorMode="Light"colorMode="Dark"colorMode="Primary"colorMode="Inherit"e-inheritcssClasshtmlAttributesenableRtl="true"enablePersistence="true"<div class="col-lg-12 control-section default-appbar-section">
<ejs-appbar id="defaultAppBar" colorMode="Primary">
<e-content-template>
<ejs-button aria-label="menu" id="menuButton" cssClass="e-inherit" iconCss="e-icons e-menu"></ejs-button>
<span class="regular" style="margin:0 5px">My Application</span>
<div class="e-appbar-spacer"></div>
<ejs-button id="trialButton" cssClass="e-inherit" content="Get Started"></ejs-button>
</e-content-template>
</ejs-appbar>
</div>colorMode="Primary"<e-content-template>cssClass="e-inherit"<div class="e-appbar-spacer"></div><ejs-appbar id="navAppBar" position="Top">
<e-content-template>
<!-- Left: Logo/Menu -->
<ejs-button iconCss="e-icons e-menu" cssClass="e-inherit"></ejs-button>
<!-- Center: Title -->
<span style="margin: 0 auto;">Dashboard</span>
<!-- Right: User Actions -->
<div class="e-appbar-spacer"></div>
<ejs-button content="Profile" cssClass="e-inherit"></ejs-button>
</e-content-template>
</ejs-appbar><ejs-appbar id="stickyAppBar" isSticky="true" colorMode="Dark">
<e-content-template>
<!-- Sticky content remains visible during scroll -->
</e-content-template>
</ejs-appbar><ejs-appbar id="prominentAppBar" mode="Prominent" colorMode="Primary">
<e-content-template>
<!-- Larger area for rich content, titles, images -->
</e-content-template>
</ejs-appbar>| Property | Type | Default | Purpose |
|---|---|---|---|
| AppBarPosition | Top | Placement: Top or Bottom |
| AppBarMode | Regular | Height: Regular, Prominent, or Dense |
| AppBarColor | Light | Theme: Light, Dark, Primary, or Inherit |
| boolean | false | Fixed positioning during scroll |
| string | - | Custom CSS classes for styling |
| boolean | false | Right-to-left language support |
| boolean | false | State persistence between page reloads |
| string | en-US | Custom culture and localization |
| Record | - | Additional HTML attributes |