
syncfusion-blazor-ribbon
Implement the Syncfusion Blazor Ribbon component. Use this skill when creating ribbon interfaces, implementing ribbon tabs/groups/items, adding file menus, handling ribbon events, or customizing ribbon styling in Syncfusion Blazor projects. Supports all ribbon item types (Button, Checkbox, DropDown, SplitButton, ComboBox, ColorPicker, GroupButton, Template), file menu operations, gallery items, contextual tabs, backstage view, keyboard navigation with KeyTips, events, theming, and accessibility features.
- Installs
- 363
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/syncfusion/blazor-ui-components-skills --skill syncfusion-blazor-ribbon- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads syncfusion-blazor-ribbon automatically when relevant.
- 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.
Syncfusion Blazor Ribbon Component
Build professional Office-style ribbon interfaces with the Syncfusion Blazor Ribbon component. This skill provides comprehensive guidance on implementing, configuring, and customizing the Ribbon for Blazor applications.
Component Overview
The Ribbon is a Microsoft Office-style UI component that organizes commands and tools into tabs, groups, and collections. It provides an intuitive interface for application functionality with support for multiple item types, file menus, and extensive customization options.
Key Concepts
- Tabs: Top-level navigation containers (Home, Insert, Design, etc.)
- Groups: Logical groupings of related items within a tab (Clipboard, Font, Alignment)
- Collections: Organize items within a group (vertical or horizontal)
- Items: Individual controls (buttons, dropdowns, checkboxes, color pickers, etc.)
- File Menu: Special dropdown menu for file operations (New, Open, Save)
- Gallery: Display visual collections of related items (styles, themes, designs)
- Contextual Tabs: Dynamic tabs that appear based on selected objects or context
- Backstage View: Full-screen menu for file operations and application settings
- KeyTips: Keyboard shortcuts for accessibility and productivity
Ribbon Structure
SfRibbon (Main Container)
├── RibbonFileMenuSettings (Optional File Menu)
└── RibbonTabs
└── RibbonTab (Home, Insert, Design...)
└── RibbonGroups
└── RibbonGroup (Clipboard, Font...)
└── RibbonCollections
└── RibbonCollection (Row/Column Layout)
└── RibbonItems
└── RibbonItem (Button, Dropdown, etc.)
Documentation and Navigation Guide
Getting Started
📄 Read: references/getting-started.md
- Installation and NuGet package setup
- Namespace imports and service registration
- Theme configuration
- Basic ribbon initialization with first tab and group
- Minimal working example
Ribbon Structure and Layout
📄 Read: references/ribbon-structure.md
- Tab organization and configuration
- Group creation with orientation control
- Collection hierarchy and row/column layouts
- Item definition basics
- Organizational best practices
Ribbon Items: Basic Types
📄 Read: references/ribbon-items-basic.md
- Button items with click handlers
- Checkbox items with toggle state
- DropDown items with menu options
- SplitButton items combining button and menu
- Disabled items and item sizing
Ribbon Items: Advanced Types
📄 Read: references/ribbon-items-advanced.md
- ComboBox items with data binding and filtering
- ColorPicker items for color selection
- GroupButton items with multiple/single selection modes
- Template items for custom HTML content
- DisplayOptions for layout-specific visibility
File Menu Configuration
📄 Read: references/file-menu.md
- Enabling and configuring the file menu
- Adding menu items and nested submenus
- Submenu behavior (hover vs click)
- Custom header text
- File menu events
Events and Interactions
📄 Read: references/events.md
- Component-level events (Created, TabSelecting, TabSelected)
- Ribbon state events (Expanding, Collapsing)
- Item click and selection events
- Launcher icon and overflow popup events
- Event handler patterns and examples
Gallery Items
📄 Read: references/gallery.md
- Gallery view for displaying collections of related items
- Gallery groups with custom headers
- Item dimensions and styling
- Item count configuration
- Selected item index management
- Popup dimensions customization
- Template customization for gallery items
Contextual Tabs
📄 Read: references/contextual-tabs.md
- Dynamic tab visibility control
- Contextual tab configuration
- Tab selection state management
- Show and hide tab methods
- Context-aware UI elements
Backstage View
📄 Read: references/backstage.md
- Backstage menu configuration
- Menu item and footer items
- Backstage separators
- Back button customization
- Backstage template customization
- Width and height configuration
- Backstage events
Keyboard Navigation and KeyTips
📄 Read: references/keytips.md
- KeyTips for ribbon items
- File menu keytips
- Backstage menu keytips
- Layout switcher keytips
- Launcher icon keytips
- ShowKeyTips and HideKeyTips methods
- KeyTip best practices and guidelines
Customization and Styling
📄 Read: references/customization.md
- Theme selection and application
- Item sizing and layout options
- CSS customization and class application
- RTL (Right-to-Left) support
- Overflow handling and group collapsing
Accessibility
📄 Read: references/accessibility.md
- WCAG 2.1 compliance and standards
- Keyboard navigation (Tab, Enter, Space, Arrow keys)
- ARIA attributes and semantic markup
- Screen reader support
- Focus management and visual indicators
Quick Start Example
@using Syncfusion.Blazor
@using Syncfusion.Blazor.Ribbon
@using Syncfusion.Blazor.SplitButtons
<div style="width: 100%">
<SfRibbon>
<RibbonTabs>
<RibbonTab HeaderText="Home">
<RibbonGroups>
<RibbonGroup HeaderText="Clipboard" Orientation="Orientation.Row">
<RibbonCollections>
<RibbonCollection>
<RibbonItems>
<RibbonItem Type="RibbonItemType.SplitButton">
<RibbonSplitButtonSettings Content="Paste" IconCss="e-icons e-paste" Items="@pasteOptions">
</RibbonSplitButtonSettings>
</RibbonItem>
</RibbonItems>
</RibbonCollection>
<RibbonCollection>
<RibbonItems>
<RibbonItem Type="RibbonItemType.Button">
<RibbonButtonSettings Content="Cut" IconCss="e-icons e-cut" OnClick="@OnCut">
</RibbonButtonSettings>
</RibbonItem>
<RibbonItem Type="RibbonItemType.Button">
<RibbonButtonSettings Content="Copy" IconCss="e-icons e-copy" OnClick="@OnCopy">
</RibbonButtonSettings>
</RibbonItem>
</RibbonItems>
</RibbonCollection>
</RibbonCollections>
</RibbonGroup>
</RibbonGroups>
</RibbonTab>
</RibbonTabs>
</SfRibbon>
</div>
@code {
private List<DropDownMenuItem> pasteOptions = new List<DropDownMenuItem>()
{
new DropDownMenuItem{ Text = "Keep Source Format" },
new DropDownMenuItem{ Text = "Merge Format" },
new DropDownMenuItem{ Text = "Keep Text Only" }
};
private void OnCut(MouseEventArgs args) { /* Handle cut action */ }
private void OnCopy(MouseEventArgs args) { /* Handle copy action */ }
}
Common Patterns
1. Multi-Tab Ribbon
Organize related functionality into separate tabs with different commands:
<SfRibbon>
<RibbonTabs>
<RibbonTab HeaderText="Home"><!-- Home commands --></RibbonTab>
<RibbonTab HeaderText="Insert"><!-- Insert commands --></RibbonTab>
<RibbonTab HeaderText="Design"><!-- Design commands --></RibbonTab>
</RibbonTabs>
</SfRibbon>
2. Grouped Commands
Group related items for better organization and UI layout:
<RibbonTab HeaderText="Home">
<RibbonGroups>
<RibbonGroup HeaderText="Clipboard"><!-- Copy/Paste items --></RibbonGroup>
<RibbonGroup HeaderText="Font"><!-- Font items --></RibbonGroup>
<RibbonGroup HeaderText="Paragraph"><!-- Alignment items --></RibbonGroup>
</RibbonGroups>
</RibbonTab>
3. File Menu Integration
Include file operations menu:
<SfRibbon>
<RibbonFileMenuSettings Visible="true" MenuItems="@fileMenuItems">
</RibbonFileMenuSettings>
<RibbonTabs><!-- tabs here --></RibbonTabs>
</SfRibbon>
4. Data-Bound ComboBox
Bind dropdown to data source:
<RibbonItem Type="RibbonItemType.ComboBox">
<RibbonComboBoxSettings DataSource="@fontFamilies"
FieldSettings="@fieldSettings"
AllowFiltering="true">
</RibbonComboBoxSettings>
</RibbonItem>
5. Toggle Buttons
Create buttons with selected/unselected state:
<RibbonItem Type="RibbonItemType.GroupButton">
<RibbonGroupButtonSettings Selection="GroupButtonSelection.Single" Items="@alignmentOptions">
</RibbonGroupButtonSettings>
</RibbonItem>
Key Properties and Configuration
Component-Level
- Tabs: Collection of
RibbonTabobjects - FileMenuSettings: Configure file menu visibility and items
- Created: Event fired when ribbon initializes
Tab-Level
- HeaderText: Tab name displayed to users
- Visible: Show/hide tabs dynamically
Group-Level
- HeaderText: Group label
- Orientation:
RoworColumnlayout - PopupHeaderText: Text in overflow popup (if EnableGroupOverflow=true)
Item-Level
- Type:
Button,Checkbox,DropDown,SplitButton,ComboBox,ColorPicker,GroupButton,Template - Disabled: Disable individual items
- DisplayOptions:
Auto,Classic,Simplified,Overflow - AllowedSizes:
Small,Medium,Large
Common Use Cases
1. Document Editor
Build a word processor ribbon with file operations, formatting, and style controls.
2. Spreadsheet Application
Create a spreadsheet ribbon with formulas, data analysis, and cell formatting.
3. Design Tool
Implement a design application ribbon with drawing tools, colors, and object manipulation.
4. Content Management System
Design a CMS ribbon with publishing options, content organization, and workflow controls.
5. Admin Dashboard
Create admin tools ribbon with user management, settings, and system controls.
6. Email Client
Build email ribbon with message actions (Reply, Forward, Delete, Archive).
7. Media Editor
Implement image/video editor ribbon with editing tools, effects, and export options.
Installation Prerequisites
- .NET 6.0 or higher
- Blazor Server or WebAssembly project
- Syncfusion.Blazor.Ribbon NuGet package
- Syncfusion.Blazor.Themes NuGet package
Theming Support
Available themes:
- Bootstrap 5 (default)
- Material Design
- Fluent UI (Microsoft)
- Tailwind CSS
- Fabric Office
- Material Dark
Themes are applied via CSS imports in index.html or App.razor.
Performance Considerations
- Use DisplayOptions to hide items not needed in specific layouts
- Implement lazy loading for complex item configurations
- Consider overflow handling for small screen sizes
- Use templates judiciously to avoid excessive rendering
Browser Support
- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
- Mobile browsers (responsive)
Keyboard Navigation
- Tab: Navigate between tabs
- Enter/Space: Select items or open menus
- Arrow Keys: Navigate within groups and items
- Escape: Close open menus and popups
Related Components
- Toolbar - Simpler alternative for basic toolbars
- Menu - Standalone menu component
- TabsComponent - Tabbed content without ribbon styling
- AppBar - Application header bar
Troubleshooting Tips
Ribbon not appearing:
- Verify NuGet packages are installed
- Check namespace imports in
_Imports.razor - Confirm service registration in
Program.cs
Items not visible:
- Check
Visibleproperty on tabs and items - Verify
DisplayOptionsconfiguration - Check
Disabledproperty not set totrue
Styling issues:
- Confirm theme CSS is referenced in
index.html - Check for conflicting CSS rules
- Verify
CssClassproperty syntax
Events not firing:
- Confirm event handler is bound with
@ - Check parameter types match event args
- Verify component lifecycle (use
Createdevent for initialization)
Next Steps
- Start with Getting Started to install and set up the component
- Learn Ribbon Structure to understand tab/group/item organization
- Explore Item Types (Basic and Advanced) for different control options
- Add File Menu for file operations
- Implement Events for user interactions
- Customize with Styling and Accessibility for production apps
For more information, visit the official Syncfusion Blazor Ribbon documentation.
FAQ
What does the syncfusion-blazor-ribbon skill do?
Implement the Syncfusion Blazor Ribbon component. Use this skill when creating ribbon interfaces, implementing ribbon tabs/groups/items, adding file menus, handling ribbon events, or customizing ribbon styling in Syncfusion Blazor projects. Supports all ribbon item types (Button, Checkbox, DropDown, SplitButton, ComboBox, ColorPicker, GroupButton, Template), file menu operations, gallery items, contextual tabs, backstage view, keyboard navigation with KeyTips, events, theming, and accessibility features.
How do I install syncfusion-blazor-ribbon?
Run npx skills add https://github.com/syncfusion/blazor-ui-components-skills --skill syncfusion-blazor-ribbon 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-blazor-ribbon/ (personal) or .claude/skills/syncfusion-blazor-ribbon/ (project).
Which AI agents can use syncfusion-blazor-ribbon?
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-blazor-ribbon 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-blazor-ribbon?
It is published by syncfusion in syncfusion/blazor-ui-components-skills. It has 363 recorded installs.
More from syncfusion/blazor-ui-components-skills
syncfusion-blazor-datagrid
syncfusion/blazor-ui-components-skills
Implements the Syncfusion Blazor DataGrid (SfGrid) for efficient tabular operations such as sorting, filtering, paging, grouping, editing, aggregates, virtualization, lazy‑load grouping, and row or column spanning. Use this skill when building data‑grid workflows in Blazor Server, WebAssembly, Web App, or MAUI applications. Supports Excel/PDF export, virtual or infinite scrolling, customizable templates, and grid state persistence for consistent and optimized data‑grid behavior.
syncfusion-blazor-common
syncfusion/blazor-ui-components-skills
Open the skill to read its SKILL.md instructions.
syncfusion-blazor-dropdowns
syncfusion/blazor-ui-components-skills
Comprehensive guide for implementing Syncfusion Blazor dropdown components including AutoComplete, ComboBox, DropDown List, MultiSelect Dropdown, and ListBox. Use this when building selection interfaces, data binding, filtering, cascading dropdowns, custom templates, and accessible dropdown experiences in Blazor applications. Covers all dropdown components from Syncfusion.Blazor.DropDowns package.
syncfusion-blazor-charts
syncfusion/blazor-ui-components-skills
Implement Syncfusion Blazor Chart (SfChart) component for comprehensive data visualization. Use this when creating line charts, bar/column charts, area charts, financial charts, or statistical visualizations. This skill covers 30+ chart types including scatter plots, bubble charts, candlestick charts, and specialized charts like waterfall, histogram, and polar charts for Blazor applications.
syncfusion-blazor-popups
syncfusion/blazor-ui-components-skills
Implement modal and modeless dialogs using Syncfusion Blazor Dialog component. Use this skill when creating dialogs, popup windows, modal confirmations, custom forms, or interactive overlay windows. Covers templates, events, positioning, animations, accessibility, and advanced customization.
syncfusion-blazor-license
syncfusion/blazor-ui-components-skills
Open the skill to read its SKILL.md instructions.
Popular frontend & design skills
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-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.
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.
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.
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.