Modules in Ribbon component

29 Aug 20252 minutes to read

The React Ribbon component contains several feature-based modules that must be injected to enable their respective functionalities.

Module Description Module Injection Type
RibbonButton Enables Button functionality in the Ribbon. default
RibbonCheckBox Enables CheckBox functionality in the Ribbon. default
RibbonDropDown Enables DropDown Button functionality in the Ribbon. default
RibbonSplitButton Enables Split Button functionality in the Ribbon. default
RibbonComboBox Enables ComboBox functionality in the Ribbon. default
RibbonGroupButton Enables Group Button functionality in the Ribbon. default
RibbonColorPicker Provides support for the ColorPicker item. selective
RibbonGallery Provides support for the Gallery item. selective
RibbonFileMenu Enables the File Menu feature. selective
RibbonBackstage Enables the Backstage view feature. selective
RibbonContextualTab Enables the Contextual Tab feature. selective
RibbonKeyTip Enables the KeyTip navigation feature. selective

These modules should be injected into the Ribbon using the Inject directive.

import { RibbonFileMenu, RibbonColorPicker, Inject } from "@syncfusion/ej2-react-ribbon";
<RibbonComponent id="ribbon" fileMenu={{ visible: true, menuItems: fileOptions}}>
    // Render Tabs here
    <Inject services={[RibbonFileMenu, RibbonColorPicker]} />
</RibbonComponent>