# Getting Started with the Kendo UI for Vue Icons

This guide provides the information you need to start using the Kendo UI for Vue Icons—it includes instructions about the available installation approaches, the required dependencies, the code for running the project, and links to additional resources.

<CtaPanelOverview></CtaPanelOverview>

After the completion of this guide, you will be able to achieve an end result as demonstrated in the following example.

[Demo Source](https://demos.telerik.com/kendo-vue-ui/icons/getting-started/source.txt)

## Setting Up Your Vue Project

Before you install the Kendo UI for Vue Icons, make sure that you have a running Vue project. The easiest way to set up a Vue project is to use the approach described in the [Set up the Vue project](https://www.telerik.com/kendo-vue-ui/components/getting-started/javascript-composition-api#1-set-up-the-vue-project) section of the [First Steps with JavaScript ](https://www.telerik.com/kendo-vue-ui/components/getting-started/javascript-composition-api) article.

## Installing the Icons Package

All Kendo UI for Vue packages are distributed through npm and offer a similar installation experience. To use the SvgIcon component, start with the installation of the `@progress/kendo-vue-common ` npm package and its [dependencies](https://www.telerik.com/kendo-vue-ui/components/icons/get-started#dependencies).

```sh
npm install --save @progress/kendo-vue-common @progress/kendo-svg-icons @progress/kendo-licensing
```

## Importing the Component

After installing the package, import the `SvgIcon` component in the `src/App.vue` file.

```jsx
// ES2015 module syntax
import { SvgIcon } from '@progress/kendo-vue-common';
```

```jsx
// CommonJS format
const { SvgIcon } = require('@progress/kendo-vue-common');
```

## Using the Component

1. Import the `cameraIcon` icon from the `@progress/kendo-svg-icons` package.

   ```jsx
   import { cameraIcon } from '@progress/kendo-svg-icons';
   ```

2. Define the `cameraIcon` as a data property.

   ```jsx
     data() {
       return {
           cameraIcon
       };
     }
   ```

3. Add the markup of the `SvgIcon` to the template section of the `src/App.vue` file in your project.

   ```jsx
       <SvgIcon :icon="cameraIcon" />
   ```

4. To style the SvgIcon, install and import the [Meridian theme](https://www.telerik.com/design-system/docs/themes/kendo-themes/meridian/), which is one of the [five beautiful themes](https://www.telerik.com/kendo-vue-ui/components/styling) for Kendo UI for Vue.

   1. Install the Meridian theme package.

      ```sh
      npm install --save @progress/kendo-theme-meridian
      ```

   2. Import the Theme package in `src/App.vue`..

      ```jsx
      import '@progress/kendo-theme-meridian';
      ```

5. Build, run and test the application by typing the following command in the root folder of your project:

   ```sh
   npm run dev
   ```

## Activating Your License Key

Using any of the UI components in the Kendo UI for Vue library requires either a commercial license key or an active trial license key.

Follow the instructions on the [My License page](https://www.telerik.com/kendo-vue-ui/components/my-license) to activate your trial or commercial license. You can skip this step if your application already contains a Kendo UI for Vue license file.

## Dependencies

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

| Package Name               | Description                                                                       |
| -------------------------- | --------------------------------------------------------------------------------- |
| vue 3.0.0+                 | Contains the functionality necessary to define Vue components.                    |
| @progress/kendo-vue-common | Contains logic and features that are common for many Kendo UI for Vue components. |
| @progress/kendo-svg-icons  | Contains the definitions of the SVG icons provided by the Kendo UI for Vue suite. |
| @progress/kendo-licensing  | Contains the internal infrastructure related to licensing.                        |

## Next Steps

* [Icon Overview](https://www.telerik.com/kendo-vue-ui/components/icons/icon)
* [SVGIcon Overview](https://www.telerik.com/kendo-vue-ui/components/icons/svgicon)
* [Icons API Documentation](https://www.telerik.com/kendo-vue-ui/components/common/api)

## Learning Resources

* [Kendo UI for Vue - First Steps with JavaScript](https://www.telerik.com/kendo-vue-ui/components/getting-started/javascript-composition-api)
* [Kendo UI for Vue - First Steps with JavaScript + Options API](https://www.telerik.com/kendo-vue-ui/components/getting-started/javascript-options-api)
* [Kendo UI for Vue - First Steps with TypeScript](https://www.telerik.com/kendo-vue-ui/components/getting-started/typescript-composition-api)
* [Kendo UI for Vue - First Steps with TypeScript + Options API](https://www.telerik.com/kendo-vue-ui/components/getting-started/typescript-options-api)
* [Virtual Classroom - Kendo UI for Vue with TypeScript(Course Available to Trial and Commercial License Holders)](https://learn.telerik.com/learn/course/internal/view/elearning/45/kendo-ui-for-vue-with-typescript)
* [Kendo UI Productivity Tools extension for VS Code](https://www.telerik.com/kendo-vue-ui/components/vscode-extension)
