Material Theme Overview

The Kendo UI for Angular Material theme is part of the Kendo UI for Angular library of UI components. It is distributed through NPM under the kendo-theme-material package.

Installation

Due to recent changes in rendering, the Kendo UI Material theme package now requires a kendo-angular-inputs@^4.0.0 version. For more information, refer to issue #2018 on GitHub.

  1. Download and install the Kendo UI Material theme package.

    npm install --save @progress/kendo-theme-material
  2. For the next steps that include alternative approaches for theme installation, refer to the instructions in the article on styling in Kendo UI.

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 kendoRippleContainer directive from the @progress/kendo-angular-ripple NPM module. The kendoRippleContainer directive provides the Material ink ripple effect for the Kendo UI components for Angular and is fully compatible with all available Kendo UI themes.
  • Use the Floating labels—Available through the kendo-textbox-container component from the @progress/kendo-angular-inputs NPM module. The TextBox enables you to provide floating labels to input elements and Kendo UI components.

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