Get Started

Kendo UI for Angular is a set of native Angular UI components, packaged and distributed as discrete, scoped NPM packages.

In this article

To install Kendo UI for Angular, you need to have an active trial or licensed commercial version of Kendo UI. Your Telerik account will be used for authentication.

Register for a trial I have an active trial or commercial license

Set Up the Angular Project

The easiest way to start with Angular is to use the Angular CLI Tool to scaffold your project structure. Follow its installation instructions.

The source code for the completed sample project is available on GitHub at telerik/kendo-angular-quickstart-cli.

npm install -g @angular/cli
ng new my-first-angular-project --style=scss
cd my-first-angular-project

Don't worry about the --style=scss parameter for now, we will get to it later.

Add the Progress NPM Registry

Kendo UI for Angular is distributed as multiple NPM packages, published at the Progress NPM registry. The packages are scoped to @progress. For example, the name of the Grid package is @progress/kendo-angular-grid.

To associate the Progress NPM registry with the @progress scope, run the following command:

npm login --registry= --scope=@progress

NPM will ask you for your Telerik account credentials and an email. Enter the username (everything before the @ in your email address) and the password you use to log in your Telerik account.

  • If you create a new account, you will need to activate it before logging in. Check your e-mail for an activation link.
  • If you use a social account to log in, make sure you complete your profile to obtain a password.

If the command does not show you any errors, you can access the Kendo UI NPM packages. Verify this by querying the versions of the Grid:

npm view @progress/kendo-angular-grid versions

The output should be something like this (json):

[ '0.1.0' ]

Add the Kendo UI Package

Let's start simple and add the Buttons package:

npm install --save @progress/kendo-angular-buttons @progress/kendo-angular-l10n @angular/animations

The Kendo UI components use Angular animations. As of the Angular 4 release, the Animations module needs to be installed separately.

Next, import the component directives into your source code. Change the code in src/app/app.module.ts to:

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { AppComponent } from './app.component';

// Import the Animations module
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';

// Import the ButtonsModule
import { ButtonsModule } from '@progress/kendo-angular-buttons';

    declarations: [
    imports: [

        // Register the modules
    providers: [],
    bootstrap: [AppComponent]
export class AppModule { }

Add the HTML for the button in src/app/app.component.html:


<button kendoButton (click)="onButtonClick()" [primary]="true">My Kendo UI Button</button>

Add the button click event handler to app.component.ts:

import { Component } from '@angular/core';

    selector: 'app-root',
    templateUrl: './app.component.html',
    styleUrls: ['./app.component.scss']
export class AppComponent {
    title = 'Hello World!';

    onButtonClick() {
        this.title = 'Hello from Kendo UI!';

We are done! Run the application in the browser by using the ng serve Angular CLI command.

The button should be visible, but it looks plain. Let's add the theme.

Add the Styles

The Kendo UI for Angular theme is distributed as a separate NPM package - @progress/kendo-theme-default. Install it just like the buttons package:

npm install --save @progress/kendo-theme-default

Import the SCSS file from the package in src/styles.scss:

/* You can add global styles to this file, and also import other style files */

@import "~@progress/kendo-theme-default/scss/all";

With the stylesheet in place, you should see something like this in the browser:


The button is fully functional and looks splendid! This final step concludes the getting-started walk-through.

Next Steps

An orange button, while pretty, is not something that you will write home about. We are sure that you are looking for more—browse the components section and discover the amazing features that Kendo UI for Angular brings to the table.

Happy coding!