• What is KendoReact
  • Getting Started
  • Server Components
  • Components
    • Animation
    • Barcodes
    • Buttons
    • Chartsupdated
    • Common Utilities
    • Conversational UIupdated
    • Data Gridupdated
    • Data Query
    • Data Tools
    • Date Inputs
    • Date Math
    • Dialogs
    • Drawing
    • Dropdownsupdated
    • Editor
    • Excel Export
    • File Saver
    • Formupdated
    • Ganttupdated
    • Gauges
    • Indicators
    • Inputsupdated
    • Labels
    • Layoutupdated
    • ListBox
    • ListView
    • Map
    • Notification
    • OrgChartnew
    • PDF Processing
    • PDFViewer
    • PivotGrid
    • Popup
    • Progress Bars
    • Ripple
    • Scheduler
    • ScrollView
    • Sortable
    • Spreadsheetupdated
    • TaskBoard
    • Tooltips
    • TreeList
    • TreeViewupdated
    • Upload
  • Sample Applications
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Changelog
  • Updates
  • Troubleshooting

KendoReact SvgIcon Overview

The SvgIcon component is used to display svg icons. The KendoReact delivers more than 500 SVG icons.


The following example demonstrates the SvgIcon component in action.

Example
View Source
Change Theme:

The SvgIcon is part of the KendoReact Common Utilities component library. The procedures for installing, importing, and using the Common Utilities are identical for all components in the package. To learn how to use the SvgIcon and the rest of the Common Utilities, see the Getting Started with the KendoReact Common Utilities guide.

Key Features

  • Appearance—You can quickly style the SvgIcon by choosing from the predefined styling options.
  • Custom SVG Icons—You can render custom SVG icons inside the KendoReact SvgIcon component.

SVG Icons List

Example
View Source
Change Theme:

Switch to SVG or Font Icons

You can use the KendoReact IconsContext to switch the type of the icons in your app.

The following code snippet shows how to change the icons type to SVG.

import { IconsContext } from '@progress/kendo-react-common';

const App = () => {
    return (
        <IconsContext.Provider value={{ type: 'svg' }}>
            {/* Your app code goes here */}
        </IconsContext.Provider>
    );
};

ReactDOM.render(<App />, document.querySelector('my-app'));