KendoReact SvgIcon Overview

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

ninja-iconThe SvgIcon is part of KendoReact, a professional grade UI library with 110+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.Start Free Trial

The following example demonstrates the SvgIcon component in action.

Change Theme
Theme
Loading ...

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.
  • Unstyled Mode—You can remove all default visual effects and style the KendoReact SvgIcon in a way that matches your application design perfectly.
  • Custom SVG Icons—You can render custom SVG icons inside the KendoReact SvgIcon component.

SVG Icons List

Change Theme
Theme
Loading ...

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.

jsx
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'));