MCPInstall

syncfusion-angular-toolbar

Creates dynamic, responsive Angular toolbars with Syncfusion. Configure button items, separators, input components, templates, styling, tooltips, links, and responsive scrolling. Supports customization, accessibility, keyboard navigation, RTL mode, and component embedding for building professional toolbar interfaces in Angular applications.

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

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/syncfusion/angular-ui-components-skills --skill syncfusion-angular-toolbar
  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-angular-toolbar 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 Syncfusion Angular Toolbar

Displays a group of command buttons arranged horizontally with responsive overflow handling and rich customization options.

When to Use This Skill

Use this skill when you need to:

  • Create action buttons in a horizontal toolbar layout
  • Add separators between button groups
  • Embed input components (NumericTextBox, DropDownList, CheckBox)
  • Customize styling with CSS and Font Awesome icons
  • Handle click events and command interactions
  • Render custom templates and components in toolbar items
  • Set tooltips for toolbar commands
  • Add routing links as toolbar items
  • Create toggle buttons with state management
  • Implement responsive scrolling or popup overflow modes
  • Build accessible toolbars with keyboard navigation

Toolbar Overview

The Syncfusion Angular Toolbar is a container component that displays a collection of command buttons arranged horizontally. It supports multiple item types (buttons, separators, inputs), custom templates, styling, responsive behavior, and accessibility features.

Key Features:

  • Button Items: Default item type with text, icons, and styling
  • Separators: Vertical divisions between command groups
  • Input Components: Embed NumericTextBox, DropDownList, CheckBox, RadioButton
  • Template Support: Render Angular components and custom HTML
  • Responsive Modes: Scrollable (default) and Popup overflow handling
  • Custom Styling: CSS customization, Font Awesome integration, themes
  • Tooltips: Hint text on mouse hover for all commands
  • Links: Embed routing links and anchor elements
  • Toggle Buttons: Stateful buttons with play/pause, show/hide functionality
  • Keyboard Navigation: Tab key support, arrow key navigation
  • RTL Support: Right-to-left text and layout direction
  • Accessibility: WCAG compliance with ARIA attributes

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Install @syncfusion/ej2-angular-navigations package
  • Setup Angular environment and dependencies
  • Import ToolbarModule in component
  • Add CSS imports for themes
  • Create basic toolbar with button items
  • Run and test the application

Item Configuration

📄 Read: references/item-configuration.md

  • Configure button item properties (text, id, prefixIcon, suffixIcon, width, align)
  • Add separator items to group commands
  • Setup Input type items (NumericTextBox, DropDownList, CheckBox, RadioButton)
  • Enable tab key navigation with tabIndex property
  • Dynamic item management and updates

Styling & Customization

📄 Read: references/styling-customization.md

  • Customize toolbar container styling with CSS
  • Style toolbar items and buttons
  • Customize icons and icon colors
  • Apply hover and focus state styles
  • Integrate Font Awesome third-party icons
  • CSS class customization (e-toolbar, e-toolbar-item, e-tbar-btn)
  • Icon positioning with e-icons class

Command Events & Customization

📄 Read: references/command-events.md

  • Implement click event handlers for toolbar items
  • Use htmlAttributes property for custom HTML attributes
  • Apply multiple CSS classes with cssClass property
  • Command customization with id, class, style, role attributes
  • Event-driven patterns for toolbar interactions
  • Handle item-specific actions and responses

Item Templates & Components

📄 Read: references/item-templates.md

  • Use template property for custom item rendering
  • Render Angular components with ng-template directive
  • Checkbox and input templates as string literals
  • Template references with query selectors
  • Menu component integration in toolbar
  • Render multiple components (NumericTextBox, DatePicker, Button)
  • Custom HTML template structures

Tooltips & Links

📄 Read: references/tooltips-links.md

  • Set tooltipText property for hint text on hover
  • Import and initialize Tooltip module with target selector
  • Add anchor elements with ng-template
  • Create routing links in toolbar items
  • Toggle button implementation with state changes
  • Play/pause, show/hide, and filter toggle patterns
  • Accessibility for links and button states

Responsive & Scrolling

📄 Read: references/responsive-scrolling.md

  • Scrollable overflow mode (default) with navigation arrows
  • Touch swipe gestures for scrolling on devices
  • Popup overflow mode for mobile-optimized display
  • Customize scrollStep property for scroll distance
  • Handle overflow when items exceed container width
  • Navigation icon disabled states and behavior
  • Continuous scrolling with long press navigation

Advanced Features

📄 Read: references/advanced-features.md

  • Grouping related toolbar buttons together
  • Nested items and hierarchical structures
  • Keyboard navigation with arrow keys and Tab support
  • WCAG accessibility compliance and ARIA attributes
  • RTL (right-to-left) language support
  • Performance optimization for large toolbars
  • Built-in compliance with WAI-ARIA specifications

Complete API Reference

📄 Read: references/api-reference.md

  • Toolbar Component Properties (12 properties)
    • allowKeyboard, cssClass, enableCollision, enableHtmlSanitizer, enablePersistence
    • enableRtl, height, items, locale, overflowMode, scrollStep, width
  • Toolbar Events (5 events)
    • beforeCreate (BeforeCreateArgs), clicked (ClickEventArgs), created, keyDown (KeyDownEventArgs), destroyed
  • Toolbar Methods (7 methods)
    • addItems, destroy, disable, enableItems, hideItem, refreshOverflow, removeItems
  • Item Configuration Properties (19+ properties)
    • align, cssClass, disabled, htmlAttributes, id, overflow, prefixIcon, suffixIcon
    • showAlwaysInPopup, showTextOn, tabIndex, template, text, tooltipText, type, visible, width
  • Types & Enums (5 enums)
    • ItemType, ItemAlign, OverflowMode, OverflowOption, DisplayMode
  • Complete API Examples
    • Advanced toolbar with all features
    • Responsive toolbar with dynamic configuration

Quick Start Example

import { ToolbarModule } from '@syncfusion/ej2-angular-navigations';
import { Component } from '@angular/core';

@Component({
  imports: [ToolbarModule],
  standalone: true,
  selector: 'app-root',
  template: `
    <ejs-toolbar>
      <e-items>
        <e-item text='Cut'></e-item>
        <e-item text='Copy'></e-item>
        <e-item type='Separator'></e-item>
        <e-item text='Paste'></e-item>
        <e-item type='Separator'></e-item>
        <e-item text='Bold'></e-item>
        <e-item text='Italic'></e-item>
        <e-item text='Underline'></e-item>
      </e-items>
    </ejs-toolbar>
  `
})
export class AppComponent { }

Add CSS imports in styles.css:

@import '../node_modules/@syncfusion/ej2-base/styles/material3.css';  
@import '../node_modules/@syncfusion/ej2-buttons/styles/material3.css';  
@import '../node_modules/@syncfusion/ej2-popups/styles/material3.css';  
@import '../node_modules/@syncfusion/ej2-navigations/styles/material3.css';

Common Patterns

Pattern 1: Simple Text Buttons

<e-item text='Cut'></e-item>
<e-item text='Copy'></e-item>
<e-item text='Paste'></e-item>

Use when: You need basic action buttons with text labels.


Pattern 2: Icon Buttons with Text

<e-item text='Bold' prefixIcon='e-icons e-bold'></e-item>
<e-item text='Italic' prefixIcon='e-icons e-italic'></e-item>
<e-item text='Undo' suffixIcon='e-icons e-undo'></e-item>

Use when: You want visual icons before or after text labels.


Pattern 3: Grouped Commands with Separators

<e-item text='Cut'></e-item>
<e-item text='Copy'></e-item>
<e-item type='Separator'></e-item>
<e-item text='Paste'></e-item>
<e-item type='Separator'></e-item>
<e-item text='Bold'></e-item>
<e-item text='Italic'></e-item>

Use when: You need to visually group related commands.


Pattern 4: Toolbar with Input Components

<e-item type='Input'>
  <ng-template #template>
    <ejs-numerictextbox value="10" width="150"></ejs-numerictextbox>
  </ng-template>
</e-item>
<e-item type='Input'>
  <ng-template #template>
    <ejs-dropdownlist [dataSource]='data' width="120"></ejs-dropdownlist>
  </ng-template>
</e-item>

Use when: You need input fields, dropdowns, or other controls within the toolbar.


Pattern 5: Custom Templates with Checkboxes

<e-item>
  <ng-template #template>
    <input type='checkbox' id='check1' checked=''>
    <label for='check1'>Enable Feature</label>
  </ng-template>
</e-item>

Use when: You need custom HTML elements like checkboxes or custom controls.


Pattern 6: Links in Toolbar

<e-item>
  <ng-template #template>
    <a href="url" target="_blank">Documentation</a>
  </ng-template>
</e-item>

Use when: You need to add clickable links as toolbar items.


Pattern 7: Tooltips with Hover Help

<ejs-tooltip target='#Toolbar [title]'>
  <ejs-toolbar id='Toolbar'>
    <e-items>
      <e-item text='Cut' tooltipText='Cut selected content'></e-item>
      <e-item text='Paste' tooltipText='Paste copied content'></e-item>
    </e-items>
  </ejs-toolbar>
</ejs-tooltip>

Use when: You want to show hint text on mouse hover.


Pattern 8: Responsive Scrollable Toolbar

<ejs-toolbar width="300px">
  <e-items>
    <e-item text='Cut'></e-item>
    <e-item text='Copy'></e-item>
    <!-- Multiple items trigger horizontal scroll -->
  </e-items>
</ejs-toolbar>

Use when: Container is narrower than total content width, triggering scrollable mode.


Pattern 9: Toggle Buttons with State

<ng-template #template>
  <button ejs-button class="e-btn" iconCss="e-play-icon" 
    isToggle="true" (click)="onPlayClick()"></button>
</ng-template>

Use when: You need buttons that toggle states (play/pause, show/hide).


Pattern 10: Font Awesome Icons

<link rel="stylesheet" href="url" />

<e-item prefixIcon="fa fa-twitter"></e-item>
<e-item prefixIcon="fa fa-facebook"></e-item>

Use when: You need third-party icons like Font Awesome.


Key Properties

PropertyTypePurposeExample
textstringButton display texttext='Cut'
typestringItem type (Button, Separator, Input)type='Separator'
prefixIconstringCSS class for icon before textprefixIcon='e-icons e-cut'
suffixIconstringCSS class for icon after textsuffixIcon='e-icons e-undo'
idstringUnique item identifierid='item1'
widthstringButton widthwidth='100px'
alignstringItem alignment (Left, Center, Right)align='Right'
tooltipTextstringHover tooltip hint texttooltipText='Cut'
cssClassstringCSS classes to applycssClass='custom-btn'
htmlAttributesobjectCustom HTML attributes[htmlAttributes]='{class: "custom"}'
templatestring|objectCustom template content[template]='templateVar'
tabIndexnumberTab key navigation ordertabIndex=1
scrollStepnumberScroll distance in pixelsscrollStep='50'

Common Use Cases

  1. Text Editor Toolbar - Bold, Italic, Underline buttons with separators
  2. File Operations - Cut, Copy, Paste, Undo, Redo buttons
  3. Search Bar in Toolbar - Input field for search within container width
  4. Formatting Options - Font size, color picker, alignment buttons
  5. Navigation Toolbar - Links to different sections or pages
  6. Mobile App Header - Icons with tooltips in compact, scrollable layout
  7. Document Viewer - Zoom in/out, print, download toggles
  8. Rich Text Editor - Full formatting toolbar with templates and inputs
  9. Dashboard Controls - Date picker, filters, sorting options
  10. Social Media Sharing - Font Awesome social icons in toolbar

FAQ

What does the syncfusion-angular-toolbar skill do?

Creates dynamic, responsive Angular toolbars with Syncfusion. Configure button items, separators, input components, templates, styling, tooltips, links, and responsive scrolling. Supports customization, accessibility, keyboard navigation, RTL mode, and component embedding for building professional toolbar interfaces in Angular applications.

How do I install syncfusion-angular-toolbar?

Run npx skills add https://github.com/syncfusion/angular-ui-components-skills --skill syncfusion-angular-toolbar 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-angular-toolbar/ (personal) or .claude/skills/syncfusion-angular-toolbar/ (project).

Which AI agents can use syncfusion-angular-toolbar?

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-angular-toolbar 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-angular-toolbar?

It is published by syncfusion in syncfusion/angular-ui-components-skills. It has 268 recorded installs.

More from syncfusion/angular-ui-components-skills

View all →

syncfusion-angular-grid

syncfusion/angular-ui-components-skills

Implements Syncfusion Angular 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 or infinite scrolling, hierarchy grids, state persistence, and advanced data management features for data-intensive applications.

Frontend & Design342 installs

syncfusion-angular-common

syncfusion/angular-ui-components-skills

Common utilities and features for Syncfusion Angular components. 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 Angular components.

Frontend & Design327 installs

syncfusion-angular-chart

syncfusion/angular-ui-components-skills

Implement Syncfusion Angular Chart component for professional data visualization. Use this when creating or customizing charts such as line, bar, column, area, pie, financial (candlestick, OHLC), scatter, bubble, or stock charts. Supports axes configuration, series binding, legends, tooltips, zooming, real-time updates, technical indicators, themes, export, and accessibility features.

Frontend & Design321 installs

syncfusion-angular-license

syncfusion/angular-ui-components-skills

Open the skill to read its SKILL.md instructions.

Frontend & Design319 installs

syncfusion-angular-themes

syncfusion/angular-ui-components-skills

Open the skill to read its SKILL.md instructions.

Frontend & Design319 installs

syncfusion-angular-rich-text-editor

syncfusion/angular-ui-components-skills

Open the skill to read its SKILL.md instructions.

Frontend & Design317 installs

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