agentsclimarketplace

Syncfusion angular appbar

Skill syncfusion/angular-ui-components-skills/skills/syncfusion-angular-appbar

This repository contains agent prompts for creating skills and organizing AI agent capabilities.

Install
npx -y skills add syncfusion/angular-ui-components-skills --skill syncfusion-angular-appbar

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Implement Syncfusion Angular AppBar component for navigation, branding, and actions. Use this skill when user needs to add top or bottom navigation bar, sticky headers, AppBar with buttons/menus/sidebars, positioning options, sizing modes (Regular/Prominent/Dense), color modes (Light/Dark/Primary/Inherit), and styling customization. Covers AppBar properties like isSticky, enablePersistence, enableRtl, htmlAttributes, responsive navigation patterns, action bars, header layouts, and navigation components.

SKILL.md

8.0 KB, as published. Nobody here has run it

Implementing Syncfusion Angular AppBar

The Syncfusion Angular AppBar component is a flexible navigation component also known as an action bar or nav bar. It displays information and actions related to the current application screen and is used to show branding, screen titles, navigation, and actions. The AppBar supports height modes, color modes, positioning, and integrates seamlessly with other Syncfusion components like Buttons, Menus, and Sidebars.

When to Use This Skill

  • Navigation Headers: Creating top or bottom navigation bars for applications
  • Sticky Headers: Building persistent headers that stay visible while scrolling
  • Responsive Navigation: Designing navigation that adapts to different screen sizes
  • Component Integration: Combining AppBar with Buttons, Menus, DropDownButtons, and Sidebars
  • Branding & Layout: Displaying logos, titles, and action buttons
  • Visual Styling: Customizing AppBar appearance with size modes and color themes
  • Content Spacing: Using spacers and separators to organize AppBar content

Component Overview

The AppBar component provides:

  • Positioning options: Top (default), Bottom, Sticky
  • Size modes: Regular (default), Prominent (tall), Dense (compact)
  • Color modes: Light, Dark, Primary, Inherit
  • Built-in spacing: Spacer elements and Separators for content organization
  • Component integration: Works with Buttons, DropDownButtons, Menus, and Sidebars
  • Customization: CSS classes, custom styling, and theme support

Documentation and Navigation Guide

Choose the reference that matches your task:

Getting Started

πŸ“„ Read: references/getting-started.md

  • Angular environment setup and Angular CLI installation
  • Syncfusion AppBar package installation (Ivy and ngcc versions)
  • Basic component implementation
  • CSS imports and theme configuration
  • Running the application

Positioning and Layout

πŸ“„ Read: references/positioning-and-layout.md

  • Top AppBar positioning (default)
  • Bottom AppBar positioning
  • Sticky AppBar behavior during scrolling
  • Position and isSticky property configuration
  • Examples for each positioning type

Sizing and Colors

πŸ“„ Read: references/sizing-and-colors.md

  • Size modes: Regular, Prominent, Dense (mode property)
  • Color modes: Light, Dark, Primary, Inherit (colorMode property)
  • Visual customization with different combinations
  • Height adjustments for Prominent AppBar
  • Comprehensive examples for all configurations

Design Patterns

πŸ“„ Read: references/design-patterns.md

  • Spacer element for spacing between AppBar content
  • Separator element for visual grouping
  • AppBar with Menu component integration
  • AppBar with Button and DropDownButton integration
  • AppBar with Sidebar integration
  • Media queries for responsive behavior

Styling and Customization

πŸ“„ Read: references/styling-and-customization.md

  • Built-in CSS classes (.e-appbar, .e-prominent, .e-dense, .e-light, .e-dark, .e-primary, .e-inherit)
  • CssClass property for custom styling
  • HtmlAttributes directive for inline attributes
  • Theme Studio integration
  • Custom theming and styling approaches

API Reference

πŸ“„ Read: references/api-reference.md - Complete API Documentation

  • All 9 properties with usage examples and defaults
  • All 2 events (created, destroyed) with examples
  • CSS classes and HTML elements
  • Property combinations and patterns
  • Accessibility and internationalization

Quick Start

Here's a minimal AppBar implementation:

import { Component } from "@angular/core";
import { AppBarModule } from '@syncfusion/ej2-angular-navigations'
import { ButtonModule } from '@syncfusion/ej2-angular-buttons'

@Component({
  imports: [AppBarModule, ButtonModule],
  standalone: true,
  selector: "app-root",
  template: `
    <div class="control-container">
      <ejs-appbar colorMode="Primary">
        <button ejs-button cssClass="e-inherit" iconCss="e-icons e-menu"></button>
        <span style="margin: 0 5px">Angular AppBar</span>
        <div class="e-appbar-spacer"></div>
        <button ejs-button cssClass="e-inherit">Login</button>
      </ejs-appbar>
    </div>
  `
})
export class AppComponent { }

Add CSS imports to your style.css:

@import "../node_modules/@syncfusion/ej2-base/styles/material3";
@import "../node_modules/@syncfusion/ej2-navigations/styles/material3";

Common Patterns

Pattern 1: Spacer for Content Distribution

Use .e-appbar-spacer to push content to the ends:

<ejs-appbar colorMode="Primary">
  <button ejs-button cssClass="e-inherit" iconCss="e-icons e-menu"></button>
  <div class="e-appbar-spacer"></div>
  <button ejs-button cssClass="e-inherit">FREE TRIAL</button>
</ejs-appbar>

Pattern 2: Separator for Content Grouping

Use .e-appbar-separator to visually separate button groups:

<ejs-appbar colorMode="Primary">
  <button ejs-button cssClass="e-inherit" iconCss="e-icons e-cut"></button>
  <button ejs-button cssClass="e-inherit" iconCss="e-icons e-copy"></button>
  <button ejs-button cssClass="e-inherit" iconCss="e-icons e-paste"></button>
  <div class="e-appbar-separator"></div>
  <button ejs-button cssClass="e-inherit" iconCss="e-icons e-bold"></button>
</ejs-appbar>

Pattern 3: Bottom Positioned AppBar

Set position to Bottom for footer-style navigation:

<ejs-appbar colorMode="Primary" position="Bottom">
  <button ejs-button cssClass="e-inherit" iconCss="e-icons e-home"></button>
  <div class="e-appbar-spacer"></div>
  <button ejs-button cssClass="e-inherit">Settings</button>
</ejs-appbar>

Pattern 4: Sticky Header

Use isSticky property for headers that persist while scrolling:

<ejs-appbar colorMode="Primary" [isSticky]="true">
  <button ejs-button cssClass="e-inherit" iconCss="e-icons e-menu"></button>
  <span>My App</span>
</ejs-appbar>

Key Properties Reference

PropertyTypeDefaultPurpose
position"Top" | "Bottom""Top"Vertical position of AppBar
isStickybooleanfalseMakes AppBar sticky during scrolling
mode"Regular" | "Prominent" | "Dense""Regular"Controls AppBar height
colorMode"Light" | "Dark" | "Primary" | "Inherit""Light"Sets color scheme
cssClassstring-Applies custom CSS classes
enablePersistencebooleanfalsePersist component state between reloads
enableRtlbooleanfalseEnable right-to-left direction
htmlAttributesRecord-Custom HTML attributes
localestring"en-US"Localization settings

β†’ See API Reference for complete API documentation with examples

Related Syncfusion Components

  • Button - Interactive buttons within AppBar
  • DropDownButton - Dropdown menus in AppBar
  • Menu - Menu bar integration
  • Sidebar - Side navigation alongside AppBar
  • Toolbar - Similar action bar component with different styling

Ready to implement? Start with references/getting-started.md to set up your first AppBar, or jump to the specific reference that matches your use case.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.