Material Theme Overview

The Kendo UI Material theme is available through the @progress/kendo-theme-material NPM module.

Installation

  1. Download and install the package of the Material theme.

    npm install --save @progress/kendo-theme-material
  2. Import the CSS file from the package.

    import '@progress/kendo-theme-material/dist/all.css';
  3. Include the Material theme in your application according to the instructions in the article on styling.

Dependencies

For the Kendo UI Material theme to closely implement the Material Design Guidelines, provide the Roboto font family and configure additional modules in your application.

By default, the Material theme uses the Roboto font family but the font itself is not included in the theme package.

You can add the font to the page from Google Fonts in the following way:

<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" />
<style>
  body { font-family: Roboto, sans-serif; }
</style>

Additional Configuration

The following additional configuration improves the look and feel of the theme in your application:

  • Use a Ripple effect—Available through the Ripple component from the @progress/kendo-react-ripple NPM module. The Ripple component provides the Material ink ripple effect for the Kendo UI components for React and is fully compatible with all available Kendo UI themes.
  • Use the floatingLabel property on components from the Inputs and Dropdowns packages for React.

Preview

To apply the Material theme to any of the examples on this website, use the theme chooser drop-down at the top-right corner of the page. The Material theme styling is loaded by default.

To simultaneously preview multiple components from different packages, to build your own theme, or to customize any of the available Kendo UI ones, use the capabilities of the Kendo UI Theme Builder web application.

In this article