Get Started

In this article

Setting Up the React Project

The easiest way to start with React is to use the create-react-app. To scaffold your project structure, follow its installation instructions.

npm install -g create-react-app
create-react-app my-app
cd my-app

Kendo UI for React is distributed as multiple NPM packages, scoped to @progress. For example, the name of the Grid package is @progress/kendo-react-grid.

Let's start simple and add the Buttons package:

npm install --save @progress/kendo-react-buttons

Next, import the components into your source code. Change the code in src/App.js to:

import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';

// Import the Button component.
import { Button } from '@progress/kendo-react-buttons';

class App extends Component {
  constructor(props) {

    this.state = {
      title: 'Welcome to React!'
  onButtonClick = () => {
    this.setState({title: 'Hello from Kendo UI!'})
  render() {
    return (
      <div className="App">
        <header className="App-header">
          <img src={logo} className="App-logo" alt="logo" />
          <h1 className="App-title">{this.state.title}</h1>
        <p className="App-intro">
            My Kendo UI Button

export default App;

We are done! Run the application in the browser by using the npm start command.

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

Adding the Styles

The Kendo UI for React themes are distributed as separate NPM packages. At the time, the available theme packages are @progress/kendo-theme-default and @progress/kendo-theme-bootstrap.

We'll take the Default theme and install it just like the Buttons package:

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

Now, import the CSS file from the package in src/App.js:

// You can import style files in ./App.js and add global styles in ./App.css
import '@progress/kendo-theme-default/dist/all.css';

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 React brings to the table.

Happy coding!