MCPInstall

syncfusion-javascript-appbar

Learn how to implement and configure the Syncfusion TypeScript AppBar control for navigation bars, app headers, and UI toolbars. This skill covers responsive positioning, color modes, sizing, styling, and component integration. Use when building navigation solutions that require flexible layout and styling options.

Installs
54
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/syncfusion/javascript-ui-controls-skills --skill syncfusion-javascript-appbar
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads syncfusion-javascript-appbar automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Implementing AppBar in Syncfusion TypeScript

When to Use This Skill

Use this skill when you need to:

  • Create a responsive application header or navigation bar
  • Display branding, screen titles, or navigation actions
  • Build app bars with buttons, menus, or custom content
  • Position bars at top, bottom, or as sticky elements
  • Apply color modes (Light, Dark, Primary, Inherit)
  • Customize sizing (Regular, Prominent, Dense)
  • Style and theme your AppBar
  • Integrate complex layouts with spacers, separators, and components
  • Ensure responsive design for different screen sizes
  • Implement accessibility features

AppBar Overview

The AppBar (also known as action bar or nav bar) is a Syncfusion navigation component that displays information and actions related to the current application screen. It provides:

  • Flexible positioning: Top (default), Bottom, or Sticky
  • Multiple sizing modes: Regular, Prominent, Dense
  • Color themes: Light, Dark, Primary, Inherit
  • Component integration: Buttons, DropDownButtons, Menus, Sidebars
  • Layout elements: Spacers for content distribution, Separators for grouping
  • Responsive design: Automatic adaptation for mobile and desktop
  • Accessibility support: ARIA attributes, keyboard navigation, semantic HTML
  • Customization: CSS classes, custom themes, HtmlAttributes

Key Dependencies

@syncfusion/ej2-navigations  // AppBar component
@syncfusion/ej2-base         // Base utilities
@syncfusion/ej2-buttons      // Button integration
@syncfusion/ej2-splitbuttons // DropDownButton support

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation and npm package setup
  • TypeScript and ES5 JavaScript approaches
  • Basic AppBar initialization
  • CSS imports and theme configuration
  • Adding buttons and content
  • First render and CDN references

Positioning and Sticky Behavior

📄 Read: references/positioning-and-sticky.md

  • Top AppBar (default positioning)
  • Bottom AppBar positioning
  • Sticky AppBar behavior (isSticky property)
  • Use cases for each position
  • Positioning property configuration
  • ScrollView interaction

Size and Height Modes

📄 Read: references/size-and-height-modes.md

  • Regular AppBar (default height)
  • Prominent AppBar (larger height for titles/images)
  • Dense AppBar (compact height)
  • Height customization techniques
  • When to use each mode
  • CSS class application

Color and Theme Modes

📄 Read: references/color-and-theme-modes.md

  • Light AppBar (light background and text)
  • Dark AppBar (dark background and text)
  • Primary AppBar (primary brand colors)
  • Inherit AppBar (inherit parent colors)
  • Button inheritance with e-inherit CSS class
  • Component integration (Buttons, Menu, DropDownButton)

Styling and Customization

📄 Read: references/styling-customization.md

  • CSS class selectors and purposes
  • CssClass property for custom styling
  • HtmlAttributes for ARIA labels and accessibility
  • Custom theme creation
  • Theme Studio integration
  • CSS variable customization

Layout Patterns and Design

📄 Read: references/layout-patterns-and-design.md

  • Spacer element (e-appbar-spacer) for content distribution
  • Separator element (e-appbar-separator) for visual grouping
  • Button and DropDownButton integration patterns
  • Menu component integration
  • Sidebar with TreeView integration
  • Responsive design and media queries
  • Complex navigation layouts

Best Practices and Accessibility

📄 Read: references/best-practices-and-accessibility.md

  • Semantic HTML structure
  • ARIA attributes and accessibility
  • Keyboard navigation support
  • Color contrast and accessibility compliance
  • Responsive breakpoints for mobile
  • Performance optimization
  • Common pitfalls and troubleshooting

API Reference

📄 Read: references/api-reference.md

  • Complete API documentation for all properties, methods, and events
  • All 9 properties with type definitions (colorMode, cssClass, enablePersistence, enableRtl, htmlAttributes, isSticky, locale, mode, position)
  • All 8 methods with parameters and return types (addEventListener, appendTo, dataBind, destroy, getRootElement, refresh, removeEventListener, inject)
  • All 2 events with detailed examples (created, destroyed)
  • State persistence across page reloads (enablePersistence)
  • Internationalization and RTL support (locale, enableRtl)
  • Event handling patterns and lifecycle management
  • Complete working examples for all APIs

Quick Start Example

Basic AppBar Setup

TypeScript:

import { AppBar } from "@syncfusion/ej2-navigations";
import { Button } from "@syncfusion/ej2-buttons";

// Create AppBar with Primary color
const appbarObj: AppBar = new AppBar({
  colorMode: 'Primary'
});
appbarObj.appendTo("#appbar");

// Add buttons with inherited styling
const menuButton: Button = new Button({ 
  cssClass: 'e-inherit', 
  iconCss: 'e-icons e-menu' 
});
menuButton.appendTo('#menuBtn');

const loginButton: Button = new Button({ 
  cssClass: 'e-inherit', 
  content: 'Login' 
});
loginButton.appendTo('#loginBtn');

HTML:

<!DOCTYPE html>
<html>
<head>
  <link href="url" rel="stylesheet" />
  <link href="url" rel="stylesheet" />
  <link href="url" rel="stylesheet" />
</head>
<body>
  <header id="appbar">
    <button id="menuBtn"></button>
    <div class="e-appbar-spacer"></div>
    <button id="loginBtn"></button>
  </header>
</body>
</html>

Common Patterns

Pattern 1: Navigation with Spacer

// Center title with left menu and right login
<header id="appbar">
  <button id="menu"></button>
  <span>My App</span>
  <div class="e-appbar-spacer"></div>
  <button id="login"></button>
</header>

Pattern 2: Grouped Actions with Separator

// Edit actions | Format actions | Layout actions
<header id="appbar">
  <button id="cut"></button>
  <button id="copy"></button>
  <button id="paste"></button>
  <div class="e-appbar-separator"></div>
  <button id="bold"></button>
  <button id="italic"></button>
</header>

Pattern 3: Prominent Header with Background

Use mode: 'Prominent' with background image for hero headers.

Pattern 4: Sticky Navigation

Set isSticky: true for persistent header during scroll.

Pattern 5: Bottom Navigation Bar

Set position: 'Bottom' for mobile-style bottom navigation.

Key Properties Reference

PropertyTypeDefaultPurpose
colorMode'Light' | 'Dark' | 'Primary' | 'Inherit''Light'Sets background and text colors
mode'Regular' | 'Prominent' | 'Dense''Regular'Controls AppBar height
position'Top' | 'Bottom''Top'Positions AppBar at top or bottom
isStickybooleanfalseMakes AppBar stick during scroll
cssClassstring''Applies custom CSS classes
htmlAttributesobject{}Sets HTML attributes (ARIA, etc.)

Common Use Cases

Use Case 1: E-Commerce Header

// Logo, navigation menu, search, cart, profile
// Sticky, Primary color, responsive layout with e-appbar-spacer

Use Case 2: SPA Dashboard

// Menu toggle, page title, notification icon, user dropdown
// Top positioned, Prominent mode for title

Use Case 3: Mobile App Navigation

// Bottom navigation bar with icons
// Dense mode, Bottom position, Light/Dark color mode

Use Case 4: Document Editor

// Grouped editing tools with separators
// Regular mode, Primary color, e-inherit buttons for consistency

Use Case 5: Complex Dashboard with Sidebar

// Menu toggle + AppBar at top + Sidebar below
// Sticky AppBar, responsive media queries

Next Steps

  1. Get Started: Read Getting Started to set up your first AppBar
  2. Position Your Bar: Choose position with Positioning Guide
  3. Select Size Mode: Pick size with Size Modes
  4. Apply Colors: Set theme with Color Modes
  5. Style & Customize: Customize look with Styling
  6. Design Layout: Create complex patterns with Layout Patterns
  7. Ensure Quality: Follow Best Practices

Control: Syncfusion AppBar | Platform: TypeScript | Version: EJ2 32.1.19+

FAQ

What does the syncfusion-javascript-appbar skill do?

Learn how to implement and configure the Syncfusion TypeScript AppBar control for navigation bars, app headers, and UI toolbars. This skill covers responsive positioning, color modes, sizing, styling, and component integration. Use when building navigation solutions that require flexible layout and styling options.

How do I install syncfusion-javascript-appbar?

Run npx skills add https://github.com/syncfusion/javascript-ui-controls-skills --skill syncfusion-javascript-appbar in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/syncfusion-javascript-appbar/ (personal) or .claude/skills/syncfusion-javascript-appbar/ (project).

Which AI agents can use syncfusion-javascript-appbar?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is syncfusion-javascript-appbar safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains syncfusion-javascript-appbar?

It is published by syncfusion in syncfusion/javascript-ui-controls-skills. It has 54 recorded installs.

More from syncfusion/javascript-ui-controls-skills

View all →

syncfusion-javascript-grid

syncfusion/javascript-ui-controls-skills

Implements Syncfusion JavaScript Grid component for feature-rich data tables and grids. Use this when working with data display, sorting, filtering, grouping, aggregates, editing, or exporting. This skill covers grid configuration, CRUD operations, virtual scrolling, hierarchy grids, state persistence, and advanced data management features for data-intensive applications.

syncfusion-javascript-common

syncfusion/javascript-ui-controls-skills

Common utilities and features for Syncfusion JavaScript controls. Use this skill when the user needs to implement animations, drag-and-drop, state persistence, RTL support, localization, globalization, security, templates, and advanced features for Syncfusion JavaScript controls.

syncfusion-javascript-dropdowns

syncfusion/javascript-ui-controls-skills

Comprehensive guide for implementing Syncfusion TypeScript dropdown components including AutoComplete, ComboBox, Mention, Dropdownlist, Multiselect, ListBox, and MultiColumn ComboBox. Use this when building selection interfaces, data binding, filtering, cascading dropdowns, dual list transfer, custom templates, and accessible dropdown experiences.

syncfusion-javascript-license

syncfusion/javascript-ui-controls-skills

Open the skill to read its SKILL.md instructions.

syncfusion-javascript-popups

syncfusion/javascript-ui-controls-skills

Open the skill to read its SKILL.md instructions.

syncfusion-javascript-tab

syncfusion/javascript-ui-controls-skills

This skill enables creating and customizing Syncfusion TypeScript Tab components, including tab navigation, tab headers, styling, responsive layouts, dynamic content loading, animations, and multi-panel organization.

Popular frontend & design skills

View category →

setup-matt-pocock-skills

mattpocock/skills

Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.

Frontend & Design1.1M installs

frontend-design

anthropics/skills

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

OfficialFrontend & Design1M installs

hyperframes-animation

heygen-com/hyperframes

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

prototype

mattpocock/skills

Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.

Frontend & Design999.2K installs

hyperframes-core

heygen-com/hyperframes

The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

Frontend & Design930.5K installs

vercel-react-best-practices

vercel-labs/agent-skills

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

OfficialFrontend & Design843.1K installs