Close
Angular React Web Components Blazor React
Open Source

React Grid Customize Icons

The Ignite UI for React IgrGrid icons can be customized to use custom icons from a different collection set using the exposed API methods:

Registering an icon caches it locally, so that it can reused between components, that reference that icon by name and collection name. Setting a reference changes which icon, from which collection, will be used when referencing that icon by name.

// Add a new 'material' icon called 'filter_list' from string
registerIconFromText("filter_list", '<svg>...</svg>', "material");

// Add a new 'material' icon called 'my-filter_list' from svg url
registerIcon("filter_list", "url" , "material")

// Sets the icon reference to the new registered icon.
setIconRef('filter_list', 'default', {
            name: 'filter_list',
            collection: 'material',
});

React Customize Icons Example

The following sample demonstrates how to switch from the original material icons to custom font awesome svg icons and back to material.

Internal Icons

The following lists all internal icons. Alias is the name of the icon by which it can be referenced. Target Icon is the internal icon name and Target Collection is the collection in which the icon is registered internally.

AliasTarget IconTarget Collection
addaddmaterial
add_childadd-childimx-icons
add_rowadd-rowimx-icons
arrow_backarrow_backmaterial
arrow_drop_downarrow_drop_upmaterial
arrow_forwardarrow_forwardmaterial
arrow_nextchevron_rightmaterial
arrow_prevchevron_leftmaterial
case_sensitivecase-sensitiveimx-icons
carousel_nextarrow_forwardmaterial
carousel_prevarrow_backmaterial
chevron_leftchevron_leftmaterial
chevron_rightchevron_rightmaterial
clockaccess_timematerial
closeclosematerial
collapseexpand_lessmaterial
confirmcheckmaterial
date_rangedate_rangematerial
deletedeletematerial
drag_indicatordrag_indicatormaterial
editeditmaterial
errorerrormaterial
expandexpand_morematerial
expand_moreexpand_morematerial
file_downloadfile_downloadmaterial
filter_allselect-allimx-icons
filter_beforeis-beforeimx-icons
filter_containscontainsimx-icons
filter_does_not_containdoes-not-containimx-icons
filter_emptyis-emptyimx-icons
filter_equalequalsimx-icons
filter_falseis-falseimx-icons
filter_greater_thangreater-thanimx-icons
filter_greater_than_or_equalgreater-than-or-equalimx-icons
filter_inis-inimx-icons
filter_last_monthlast-monthimx-icons
filter_last_yearlast-yearimx-icons
filter_less_thanless-thanimx-icons
filter_less_than_or_equalless-than-or-equalimx-icons
filter_next_monthnext-monthimx-icons
filter_next_yearnext-yearimx-icons
filter_not_emptynot-emptyimx-icons
filter_not_equalnot-equalimx-icons
filter_not_nullis-not-nullimx-icons
filter_nullis-nullimx-icons
filter_starts_withstarts-withimx-icons
filter_this_monththis-monthimx-icons
filter_this_yearthis-yearimx-icons
filter_todaytodayimx-icons
filter_trueis-trueimx-icons
filter_yesterdayyesterdayimx-icons
first_pagefirst_pagematerial
group_workgroup_workmaterial
hidevisibility_offmaterial
import_exportimport_exportmaterial
input_collapsearrow_drop_upmaterial
input_clearclearmaterial
input_expandarrow_drop_downmaterial
jump_downjump-downimx-icons
jump_upjump-upimx-icons
last_pagelast_pagematerial
more_vertmore_vertmaterial
nextnavigate_nextmaterial
pinpin-leftimx-icons
prevnavigate_beforematerial
refreshrefreshmaterial
removecancelmaterial
searchsearchmaterial
selecteddonematerial
showvisibilitymaterial
sort_ascarrow_upwardmaterial
sort_descarrow_downwardmaterial
functionsfunctionsmaterial
table_rowstable_rowsmaterial
todaycalendar_todaymaterial
tree_collapseexpand_morematerial
tree_expandchevron_rightmaterial
unfold_lessunfold_lessmaterial
unfold_moreunfold_morematerial
unpinunpin-leftimx-icons
view_columnview_columnmaterial

Here’s a breakdown of all icons as used by component:

Grid

IconDescription
addUsed in excel-filter menu to add filter entry.
arrow_backUsed in various UI elements for moving a column backwards.
arrow_drop_downUsed in various buttons to indicate togglable menus.
arrow_forwardUsed in various UI elements for moving a column forwards.
cancelUsed in various UI elements for canceling operations.
chevron_rightUsed to indicate expandable menus, like in the excel style filtering.
closeUsed to close an expanded menu.
confirmUsed to confirm an operation.
drag_indicatorUsed to show a handle to indicate an item can be dragged.
errorUsed in editable cells to indicate erroneous data input.
expand_moreUsed by the excel filtering menu to indicate the addition of more filters.
file_downloadUsed by the excel filter exporter.
filter_Used for various filtering operands.
group_workUsed by the group-by drop area.
hideUsed by various UI elements for hiding columns.
import_exportUsed by the pivot data selector for moving.
input_clearUsed by input fields for clearing input data.
nextUsed by the filtering row menu to navigate between chips.
pinUsed by various UI elements for column pinning.
prevUsed by the filtering row menu to navigate between chips.
removeUsed by various UI elements as a removal indicator.
refreshUsed by the filtering row menu to reload the filters.
selectedUsed by various UI elements to indicated active selection.
showUsed by various UI elements for showing columns.
sort_ascUsed by various UI elements to indicate sorting direction.
sort_descUsed by various UI elements to indicate sorting direction.
functionsUsed by the pivot grid and data selectors.
table_rowsUsed by the pivot grid data selector.
tree_collapseUsed by tree-like structure to show less details.
tree_expandUsed by tree-like structure to show more details.
unpinUsed by various UI elements for column pinning.
unfold_lessUsed by the hierarchical grid to collapse all rows.
unfold_moreUsed by the hierarchical grid to expand all rows.
view_columnUsed by the pivot data selector.

Paginator

IconDescription
first_pageUsed by the button used for navigating to the first page.
last_pageUsed by the button used for navigating to the last page.
prevUsed by the button used for navigating to the previous page.
nextUsed by the button used for navigating to the next page.

Action Strip

IconDescription
add_childUsed by the popup menu.
add_rowUsed by the popup menu.
more_vertUsed by the popup menu.

API References

Additional Resources

Our community is active and always welcoming to new ideas.