# Getting Started with the KendoReact Common Utilities

This guide provides essential information about using the KendoReact Common Utilities package—you will learn how to install the package and add free Common Utilities to your project. The steps demonstrated in this guide are applicable to all KendoReact Common Utilities [(free and premium)](https://www.telerik.com/kendo-react-ui-develop/components/common).

<div data-component="StartKendoReactFreeSection"></div>

After completing this guide, you will be able to reproduce the following example.

[Demo Source](https://demos.telerik.com/kendo-react-ui/common/get-started/func/source.txt)

## Before You Begin

If you do not have a React project, create one with Vite by running the following command:

```sh
npm create vite@latest my-app -- --template react-ts
```

This guide requires that you have **basic knowledge of React and TypeScript**, and that you have already created [**a blank React project**](https://www.telerik.com/kendo-react-ui/components/getting-started).

> You can accelerate your Common Utilities journey with the [KendoReact Agentic UI Generator](https://www.telerik.com/kendo-react-ui/components/ai-tools/agentic-ui-generator/getting-started) and the [Component Assistant prompts](https://www.telerik.com/kendo-react-ui/components/ai-tools/agentic-ui-generator/prompt-library#component-assistant).

## Install the Component

The KendoReact Common Utilities package is distributed via [npm](https://www.npmjs.com/package/@progress/kendo-react-common) and can be installed using the npm package manager.

To install the Common Utilities package along with its [dependencies](https://www.telerik.com/kendo-react-ui-develop/components/common/get-started#kendoreact-common-dependencies) and Kendo theme, run the following command in the root folder of your React project:

```sh
npm i @progress/kendo-react-common @progress/kendo-theme-meridian
```

Import the CSS file from the package in `src/App.tsx`. Add this import before your existing `App.css` import:

```jsx
import '@progress/kendo-theme-meridian/dist/all.css';
```

With this import in place, you already have professionally designed styling applied to your app out-of-box. You can also try any of the other available [Kendo UI Themes](https://www.telerik.com/design-system/docs/themes/get-started/introduction/#available-themes).

> tip Are you looking for guidance around how to create visually appealing and consistent user interfaces with Telerik UI components? Check out the [Progress Design System](https://www.telerik.com/design-system/docs/).

## Use the Component

> Using the free KendoReact Common Utilities components does not require a license, even in production. To work with the premium Draggable utility, you need a [commercial license key or an active trial license key](https://www.telerik.com/kendo-react-ui-develop/components/my-license).

Place the `import` statements in the App component file (for example: `src/App.tsx`) for your project. Note that the steps for installing and importing all Common Utilities components are identical.

```tsx
import { SvgIcon } from '@progress/kendo-react-common';
import { paletteIcon } from '@progress/kendo-svg-icons';
```

1. After installing the Common Utilities package and importing the components, add the Icon's tags to the App component file of your React project (for example, `src/App.tsx`).

   ```tsx
   return <SvgIcon icon={paletteIcon} size="xlarge" />;
   ```

2. Additionally, the SvgIcons provide built-in appearance properties which let you control the size, flip, and theme color of the component. Try to play around with the [appearance](https://www.telerik.com/kendo-react-ui-develop/components/common/svgicon/appearance) of your SvgIcon.

   ```tsx
   return <SvgIcon icon={paletteIcon} size="xlarge" themeColor="primary" />;
   ```

3. Run the application from the root folder of your project:

   ```sh
   npm run dev
   ```

4. Navigate to [http://localhost:5173](http://localhost:5173/) to see the KendoReact SvgIcon component on the page.

## KendoReact Common Dependencies

The Common Utilities package requires you to install the following [peer dependencies](https://nodejs.org/en/blog/npm/peer-dependencies/) in your application:

| Package Name              | Description                                                      |
| ------------------------- | ---------------------------------------------------------------- |
| react 18.0.0\*            | Contains the functionality necessary to define React components. |
| react-dom                 | Contains the React renderer for the web.                         |
| @progress/kendo-licensing | Contains the internal infrastructure related to licensing.       |
| @progress/kendo-svg-icons | Contains the KendoReact SVG icons.                               |

## Activating Your License Key

**Important**: The KendoReact Common Utilities have both free and premium features. Only the premium features require a license key file to be installed in your project:

* **Trial usage**: [Start a free trial](https://www.telerik.com/try/kendo-react-ui) and download a trial license key file
* **Commercial usage**: [Purchase a license](https://www.telerik.com/kendo-react-ui/pricing) and download a commercial license key file

Without a valid license key file, the premium features will display licensing warnings and watermarks.

Follow the instructions on the KendoReact [My License page](https://www.telerik.com/kendo-react-ui-develop/components/my-license) to download and install your license key file. You can skip this step if your application already contains a KendoReact license file.

## Next Steps

Now try to add another component from the Common Utilities package yourself. The procedures for [installing](https://www.telerik.com/kendo-react-ui-develop/components/common/get-started#install-the-component) and [importing](https://www.telerik.com/kendo-react-ui-develop/components/common/get-started#use-the-component) the Common Utilities components are identical for all components in the package.

The Common Utilities package provides the following components:

* [Adaptive Mode](https://www.telerik.com/kendo-react-ui-develop/components/common/adaptive-mode)
* [Icon](https://www.telerik.com/kendo-react-ui-develop/components/common/icon)
* [SvgIcon](https://www.telerik.com/kendo-react-ui-develop/components/common/svgicon)
* [Typography](https://www.telerik.com/kendo-react-ui-develop/components/common/typography)
* [Drag\&Drop](https://www.telerik.com/kendo-react-ui-develop/components/common/drag-and-drop) (premium)
* [Keyboard Navigation](https://www.telerik.com/kendo-react-ui-develop/components/common/navigation)

## Learning Resources

* [Getting Started with KendoReact](https://www.telerik.com/kendo-react-ui-develop/components/getting-started)
* [KendoReact Common Utilities Overview](https://www.telerik.com/kendo-react-ui-develop/components/common)
* [API Reference of the KendoReact Common Utilities](https://www.telerik.com/kendo-react-ui-develop/components/common/api)
* [KendoReact Free vs. Premium](https://www.telerik.com/kendo-react-ui-develop/components/getting-started/free-vs-premium)
* [Video Courses](https://www.telerik.com/kendo-react-ui-develop/components/getting-started/video-onboarding)
* [Before You Start: All Things React (Telerik Blog Post)](https://www.telerik.com/blogs/all-things-react)
* [Knowledge Base](https://www.telerik.com/kendo-react-ui/components/knowledge-base)
