Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

syncfusion-angular-ribbonsyncfusion Angular ribbon 命令行

Agent Skill

syncfusion-angular-ribbon 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,105

周安装

47

GitHub Stars

公开资料未说明

下载量

387
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:syncfusion-angular-ribbon(syncfusion Angular ribbon 命令行)
来源仓库:https://github.com/syncfusion/angular-ui-components-skills
仓库路径:skills/syncfusion-angular-ribbon
安装命令:
npx skills add https://github.com/syncfusion/angular-ui-components-skills --skill syncfusion-angular-ribbon
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/syncfusion/angular-ui-components-skills --skill syncfusion-angular-ribbon

简介

用于处理 GitHub 仓库、Issue 和 Pull Request 协作信息。

  • 适合围绕仓库状态和代码变更进行整理。
  • 通过 GitHub 仓库安装,支持主流宿主环境。
  • 使用前建议确认权限范围和维护状态。syncfusion-angular-ribbon 属于前端设计类 Skill,可作为该场景下的辅助能力补充。
  • 注意可能涉及联网和命令执行,需谨慎使用。

SKILL.md

Syncfusion Angular Ribbon Component

Component Overview

The Syncfusion Angular Ribbon is a professional command interface component that organizes application commands in a tabbed ribbon format, similar to Microsoft Office. It features:

  • Hierarchical Command Organization: Tabs → Groups → Collections → Items for logical command structure
  • 7 Built-in Item Types: Button, CheckBox, DropDown, SplitButton, ComboBox, ColorPicker, GroupButton, and Gallery
  • Dual Layout Modes: Classic (multi-row) and Simplified (collapsible) layouts with automatic resizing
  • File Menu & Backstage Views: Traditional file menus or modern backstage interfaces for document operations
  • Contextual Tabs: Dynamic tabs that appear based on user selection or context
  • Responsive Resizing: Automatic item size adjustment (Large, Medium, Small) based on available width
  • Keyboard Navigation: Full keytips support for keyboard-first workflows
  • Accessibility Features: WCAG compliance with ARIA attributes and screen reader support
  • RTL Support: Right-to-left layout for Arabic, Hebrew, Persian, and Urdu languages
  • Gallery Items: Visual selection panels for themes, styles, and color schemes
  • Help Pane: Customizable help pane with template support
  • Advanced Event System: Comprehensive events for tab selection, collapse/expand, launcher clicks, and item interactions
  • Highly Configurable: Extensive API with 20+ ribbon properties, 30+ item properties, and 10+ events

Key Concepts & Hierarchy

Important concepts:

  • Tabs: Organize major feature categories (Home, Insert, View)
  • Groups: Group related commands within a tab (Clipboard, Font, Alignment)
  • Collections: Visual groupings within a group for better organization
  • Items: Individual commands with 7 types (Button, DropDown, ColorPicker, etc.)
  • Layouts: Classic (multi-row) or Simplified (collapse-capable) with automatic switching
  • File Menu/Backstage: Application-level operations (New, Open, Save, Print)

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation and package setup (Ivy vs ngcc)
  • CSS theme imports and dependencies
  • Creating your first Ribbon
  • Adding tabs and groups
  • Basic items and running the application

Tabs, Groups, and Items Structure

📄 Read: references/tabs-groups-items.md

  • Tab hierarchy and properties
  • Adding groups to tabs
  • Ribbon collections and items
  • Item size configuration (Large, Medium, Small)
  • Orientation settings (Row/Column)
  • Multiple tabs and groups examples

Item Types and Configuration

📄 Read: references/item-types.md

  • All 7 built-in item types
  • Button items (toggle, disabled states)
  • CheckBox, DropDown, SplitButton items
  • ComboBox, ColorPicker, GroupButton items
  • Complete code examples for each type
  • Item settings models and properties

Ribbon Layouts and Resizing

📄 Read: references/layouts.md

  • Classic layout (default multi-row format)
  • Simplified layout (with collapse support)
  • Switching between layouts
  • Item size allowances and configuration
  • Responsive resizing behavior
  • Layout examples and best practices

File Menu and Backstage Views

📄 Read: references/file-menu-and-backstage.md

  • File Menu configuration and visibility
  • Adding menu items with icons and actions
  • Backstage view as file menu replacement
  • Backstage items and content
  • Footer items and separators
  • Back button customization
  • Target element positioning
  • Complete file menu and backstage examples

Advanced Features

📄 Read: references/advanced-features.md

  • Contextual tabs (dynamic tab creation)
  • Keytips for keyboard navigation
  • Gallery items for visual selection
  • Help pane templates
  • Tooltip configuration
  • Resizing behavior and responsive design
  • RTL support for right-to-left languages
  • Accessibility features and WCAG compliance

Events and Interactivity

📄 Read: references/events.md

  • Tab selection events (tabSelected, tabSelecting)
  • Ribbon collapse/expand events
  • Backstage item click events
  • Event arguments and cancellation
  • Event handling patterns
  • Complete event examples

Customization and Styling

📄 Read: references/customization-and-styling.md

  • CSS class customization
  • Theme integration and switching
  • CSS variables for styling
  • Custom styling examples
  • Group icon customization
  • Item customization and appearance
  • Launcher icon usage

Quick Start Example

Here's a minimal Ribbon with Home and Insert tabs:

import { Component } from "@angular/core";
import { RibbonModule } from '@syncfusion/ej2-angular-ribbon';
import { RibbonButtonSettingsModel, RibbonSplitButtonSettingsModel } from '@syncfusion/ej2-angular-ribbon';

@Component({
  imports: [ RibbonModule ],
  standalone: true,
  selector: "app-root",
  template: `
    <ejs-ribbon id="ribbon">
      <e-ribbon-tabs>
        <e-ribbon-tab header="Home">
          <e-ribbon-groups>
            <e-ribbon-group header="Clipboard" orientation="Row">
              <e-ribbon-collections>
                <e-ribbon-collection>
                  <e-ribbon-items>
                    <e-ribbon-item type="SplitButton" [splitButtonSettings]="pasteSettings"></e-ribbon-item>
                  </e-ribbon-items>
                </e-ribbon-collection>
                <e-ribbon-collection>
                  <e-ribbon-items>
                    <e-ribbon-item type="Button" [buttonSettings]="cutButton"></e-ribbon-item>
                    <e-ribbon-item type="Button" [buttonSettings]="copyButton"></e-ribbon-item>
                  </e-ribbon-items>
                </e-ribbon-collection>
              </e-ribbon-collections>
            </e-ribbon-group>
          </e-ribbon-groups>
        </e-ribbon-tab>
        <e-ribbon-tab header="Insert">
          <e-ribbon-groups>
            <e-ribbon-group header="Illustrations" orientation="Row">
              <e-ribbon-collections>
                <e-ribbon-collection>
                  <e-ribbon-items>
                    <e-ribbon-item type="Button" [buttonSettings]="chartButton"></e-ribbon-item>
                  </e-ribbon-items>
                </e-ribbon-collection>
              </e-ribbon-collections>
            </e-ribbon-group>
          </e-ribbon-groups>
        </e-ribbon-tab>
      </e-ribbon-tabs>
    </ejs-ribbon>
  `,
  styleUrls: ['./app.component.css']
})
export class AppComponent {
  public pasteSettings = {
    iconCss: "e-icons e-paste",
    items: [{ text: "Keep Source Format" }, { text: "Merge format" }],
    content: "Paste"
  };
  public cutButton: RibbonButtonSettingsModel = { iconCss: "e-icons e-cut", content: "Cut" };
  public copyButton: RibbonButtonSettingsModel = { iconCss: "e-icons e-copy", content: "Copy" };
  public chartButton: RibbonButtonSettingsModel = { iconCss: "e-icons e-chart", content: "Chart" };
}

Common Patterns

Pattern 1: Multi-Tab Command Interface

  1. Define multiple tabs for major features (Home, Insert, View, Format)
  2. Add groups within each tab for related commands
  3. Configure collections to organize items visually
  4. Use appropriate item types (Button, DropDown, ColorPicker)
  5. Set activeLayout to Classic or Simplified
  6. Handle tabSelected event for tab-specific actions

Pattern 2: File Menu Integration with Backstage

  1. Configure fileMenu or backStageMenu for document operations
  2. Add menu items for New, Open, Save, Print, Export
  3. Set icons with iconCss and content areas for backstage
  4. Handle menu item clicks with event handlers
  5. Use footer items for settings or account options
  6. Configure back button for backstage navigation

Pattern 3: Responsive Resizing with Size Priorities

  1. Set allowedSizes array on items (Large, Medium, Small)
  2. Configure activeSize for initial display size
  3. Ribbon automatically adjusts item sizes based on width
  4. Use Large for primary commands, Small for secondary
  5. Handle ribbonCollapsing event for custom resize logic
  6. Test responsive behavior at different viewport widths

Pattern 4: Contextual Tabs for Dynamic Commands

  1. Define contextualTabs array with tab configurations
  2. Set visible property based on user selection or context
  3. Use isSelected to activate contextual tab programmatically
  4. Add tab-specific groups and items for contextual commands
  5. Handle tabSelected to detect contextual tab activation
  6. Toggle visibility dynamically in response to user actions

Pattern 5: Keyboard Navigation with Keytips

  1. Enable enableKeyTips on ribbon component
  2. Assign keyTip property to tabs (Alt+H for Home)
  3. Add keytips to groups and individual items
  4. Configure layoutSwitcherKeyTip for layout toggle
  5. Set keytips on file menu and backstage items
  6. Follow consistent keytip patterns (Alt+ letter combinations)

Pattern 6: Gallery Items for Visual Selection

  1. Configure items with type="Gallery" for visual panels
  2. Define gallerySettings with groups and items
  3. Set itemCount, popupWidth, popupHeight for display
  4. Use templates for custom gallery item rendering
  5. Handle selection events for gallery item clicks
  6. Common use cases: themes, styles, colors, table designs

Key Properties & Events

Core Ribbon Configuration

PropertyTypeDefaultWhen to Use
tabsRibbonTabModel[][]Define ribbon tabs with groups and items
activeLayoutLayoutType'Classic'Set layout mode (Classic or Simplified)
selectedTabnumber0Set or get the currently active tab index
isMinimizedbooleanfalseControl ribbon minimized state

Layout & Appearance

PropertyTypeDefaultWhen to Use
widthstring \number'100%'Set ribbon container width
cssClassstring''Apply custom CSS classes for styling and themes
hideLayoutSwitcherbooleanfalseHide the Classic/Simplified layout toggle button
tabAnimationobjectnullConfigure tab switching animation settings

Keyboard & Accessibility

PropertyTypeDefaultWhen to Use
enableKeyTipsbooleanfalseEnable keytips for keyboard navigation (Alt+ shortcuts)
layoutSwitcherKeyTipstring''Set keytip for layout switcher button
launcherIconCssstring''Default CSS class for launcher icons across all groups

File Menu & Backstage

PropertyTypeDefaultWhen to Use
fileMenuFileMenuSettingsModelnullConfigure traditional file menu (New, Open, Save, Print)
backStageMenuBackStageMenuModelnullConfigure modern backstage view (replaces file menu)

Advanced Features

PropertyTypeDefaultWhen to Use
contextualTabsRibbonContextualTabModel[][]Define tabs that appear based on context or selection
helpPaneTemplatestring''Custom template for help pane content

Globalization

PropertyTypeDefaultWhen to Use
localestring'en-US'Set language/culture for localization
enableRtlbooleanfalseEnable right-to-left layout (Arabic, Hebrew, Persian, Urdu)
enablePersistencebooleanfalseSave ribbon state between page reloads

Tab Configuration

PropertyTypeDefaultWhen to Use
headerstring''Tab display text (Home, Insert, View)
groupsRibbonGroupModel[][]Array of groups within the tab
idstring''Unique identifier for the tab
keyTipstring''Keyboard shortcut keytip (H for Home)

Group Configuration

PropertyTypeDefaultWhen to Use
headerstring''Group display text (Clipboard, Font, Alignment)
orientationItemOrientation'Column'Layout direction (Row or Column)
enableGroupOverflowbooleanfalseShow overflow dropdown when group doesn't fit
isCollapsiblebooleantrueAllow group to collapse in simplified layout
showLauncherIconbooleanfalseShow launcher icon for dialog/pane launch
groupIconCssstring''CSS class for group icon in overflow/launcher

Item Configuration

PropertyTypeDefaultWhen to Use
typeRibbonItemType'Button'Item type: Button, CheckBox, DropDown, SplitButton, ComboBox, ColorPicker, GroupButton, Gallery
idstring''Unique identifier for the item
allowedSizesRibbonItemSize[]['Large', 'Medium', 'Small']Sizes item can resize to (responsive behavior)
activeSizeRibbonItemSize'Medium'Current display size of item
disabledbooleanfalseDisable item to prevent user interaction
displayOptionsDisplayMode'Auto'Control display (Auto, Classic, Simplified, Overflow)
cssClassstring''Custom CSS class for item styling
keyTipstring''Keyboard shortcut keytip for item
ribbonTooltipSettingsTooltipSettingsModelnullTooltip configuration (id, title, content, iconCss, cssClass)
itemTemplatestring''Custom template for item rendering
buttonSettingsRibbonButtonSettingsModelnullButton-specific settings (iconCss, content, clicked)
dropDownSettingsRibbonDropDownSettingsModelnullDropDown-specific settings (iconCss, content, items)
splitButtonSettingsRibbonSplitButtonSettingsModelnullSplitButton-specific settings (iconCss, items, clicked)
checkBoxSettingsRibbonCheckBoxSettingsModelnullCheckBox-specific settings (label, checked, change)
colorPickerSettingsRibbonColorPickerSettingsModelnullColorPicker-specific settings (value, change)
comboBoxSettingsRibbonComboBoxSettingsModelnullComboBox-specific settings (dataSource, value, fields)
groupButtonSettingsRibbonGroupButtonSettingsModelnullGroupButton-specific settings (items, selected)
gallerySettingsRibbonGallerySettingsModelnullGallery configuration (groups, items, itemCount, popupWidth, popupHeight, template)

File Menu Configuration

PropertyTypeDefaultWhen to Use
visiblebooleanfalseShow/hide file menu button
textstring'File'File menu button text
menuItemsFileMenuItemModel[][]Array of menu items (New, Open, Save, Print)
itemTemplatestring''Custom template for menu items
popupTemplatestring''Custom template for entire popup
keyTipstring''Keytip for file menu (F for File)
ribbonTooltipSettingsTooltipSettingsModelnullTooltip settings for file menu button

Backstage Configuration

PropertyTypeDefaultWhen to Use
visiblebooleanfalseShow/hide backstage view
textstring'File'Backstage button text
itemsBackStageItemModel[][]Backstage items (id, text, iconCss, content, separator, isFooter)
backButtonBackButtonModelnullBack button configuration (text, iconCss, visible)
widthstring'auto'Backstage width dimension
heightstring'auto'Backstage height dimension
targetHTMLElementnullElement for positioning backstage
templatestring''Custom template for backstage content
keyTipstring''Keytip for backstage button
ribbonTooltipSettingsTooltipSettingsModelnullTooltip settings for backstage button

Contextual Tab Configuration

PropertyTypeDefaultWhen to Use
visiblebooleanfalseShow/hide contextual tab group
isSelectedbooleanfalseWhether contextual tab is active
tabsRibbonTabModel[][]Array of tabs in contextual group

Key Events

EventArgumentsWhen to Use
(tabSelected)TabSelectedEventArgsAfter a tab is selected (get tab index and data)
(tabSelecting)TabSelectingEventArgsBefore tab selection (cancelable, validate selection)
(ribbonCollapsing)RibbonCollapsingEventArgsBefore ribbon collapses (cancelable)
(ribbonExpanded)RibbonExpandedEventArgsAfter ribbon expands
(launcherClick)LauncherClickEventArgsWhen launcher icon is clicked (open dialog/pane)
(overflowPopupOpen)OverflowPopupEventArgsBefore overflow popup opens (cancelable)
(overflowPopupClose)OverflowPopupEventArgsBefore overflow popup closes (cancelable)
(layoutSwitched)LayoutSwitchedEventArgsWhen layout switches between Classic/Simplified
(backStageItemClick)BackStageItemClickEventArgsWhen backstage item is clicked

File Menu Events

EventArgumentsWhen to Use
beforeOpenBeforeOpenCloseMenuEventArgsBefore file menu opens (cancelable)
openOpenCloseMenuEventArgsAfter file menu opens
beforeCloseBeforeOpenCloseMenuEventArgsBefore file menu closes (cancelable)
closeOpenCloseMenuEventArgsAfter file menu closes
beforeItemRenderMenuEventArgsBefore menu item renders (customize rendering)
selectMenuEventArgsWhen menu item is selected

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.75%
按下载量换算134

Claude

30.17%
按下载量换算117

Cursor

18.46%
按下载量换算71

Gemini CLI

8.65%
按下载量换算33

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills