# Getting Started with the Kendo UI for Vue Inputs

This guide provides essential information about using the Kendo UI for Vue Inputs package—you will learn how to install the package, add Input components to your project, style the components, and activate your license. You can apply the steps in this guide to all Kendo UI for Vue Inputs.

<CtaPanelOverview></CtaPanelOverview>

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

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

## Setting Up Your Vue Project

Before you install the Kendo UI for Vue Inputs, 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 Components

All Kendo UI for Vue packages are distributed through npm and offer a similar installation experience. To use any of the Indicators, start with the installation of the npm package and its [dependencies](https://www.telerik.com/kendo-vue-ui/components/inputs/get-started#dependencies). Use Node.js v5.0.0 or later.

Navigate to the root folder of your Vue project and run the following command:

```sh
npm install --save @progress/kendo-vue-inputs @progress/kendo-vue-intl @progress/kendo-drawing @progress/kendo-licensing @progress/kendo-svg-icons
```

## Importing the Components

After installing the Inputs package, import the desired components in the Vue App. This guide shows how to add the [ColorPicker](https://www.telerik.com/kendo-vue-ui/components/inputs/colorpicker).

In the App component file of your Vue project (for example, `src/App.vue`), add the following code:

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

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

If your project requires more Input components, you can import them. The Inputs package provides the following components:

* Checkbox
* ColorGradient
* ColorPalette
* ColorPicker
* FlatColorPicker
* Input
* MaskedTextBox
* NumericTextBox
* RadioButton
* RadioGroup
* RangeSlider
* Slider
* Switch
* TextArea

## Using the Components

1. After installing the Inputs package and importing the components, add the ColorPicker to the template section of the App component file of your Vue project (for example, `src/App.vue`).

   ```js
         <div class="example-wrapper">
            <ColorPicker :view="'gradient'" :default-value="'green'" />
         </div>
   ```

2. To style the Loader, 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';
      ```

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

   ```sh
   npm run dev
   ```

Now try to add another component from the Inputs package yourself. The procedures for [installing](https://www.telerik.com/kendo-vue-ui/components/inputs/get-started#installing-the-components), [importing](https://www.telerik.com/kendo-vue-ui/components/inputs/get-started#importing-the-components), and [using](https://www.telerik.com/kendo-vue-ui/components/inputs/get-started#using-the-components) the Input components are identical for all components in the package.

## 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 license file.

## Dependencies

The Inputs 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-licensing | Contains the internal infrastructure related to licensing.                                                                                                                        |
| @progress/kendo-svg-icons | Contains the SVG icons for the components                                                                                                                                         |
| @progress/kendo-vue-intl  | Contains the Kendo UI for Vue Internationalization package that applies the desired cultures by providing services and pipes for the parsing and formatting of dates and numbers. |
| @progress/kendo-drawing   | Contains the Drawing library, which provides interactive vector graphics.                                                                                                         |

## Suggested Links

* [Checkbox Overview](https://www.telerik.com/kendo-vue-ui/components/inputs/checkbox)
* [ColorPicker Overview](https://www.telerik.com/kendo-vue-ui/components/inputs/colorpicker)
* [ColorGradient Overview](https://www.telerik.com/kendo-vue-ui/components/inputs/colorgradient)
* [ColorPalette Overview](https://www.telerik.com/kendo-vue-ui/components/inputs/colorpalette)
* [FlatColorPicker Overview](https://www.telerik.com/kendo-vue-ui/components/inputs/flatcolorpicker)
* [Input Overview](https://www.telerik.com/kendo-vue-ui/components/inputs/input)
* [TextBox Overview](https://www.telerik.com/kendo-vue-ui/components/inputs/textbox)
* [MaskedTextBox Overview](https://www.telerik.com/kendo-vue-ui/components/inputs/maskedtextbox)
* [NumericTextBox Overview](https://www.telerik.com/kendo-vue-ui/components/inputs/numerictextbox)
* [RadioButton Overview](https://www.telerik.com/kendo-vue-ui/components/inputs/radiobutton)
* [RadioGroup Overview](https://www.telerik.com/kendo-vue-ui/components/inputs/radiogroup)
* [Slider Overview](https://www.telerik.com/kendo-vue-ui/components/inputs/slider)
* [RangeSlider Overview](https://www.telerik.com/kendo-vue-ui/components/inputs/rangeslider)
* [Switch Overview](https://www.telerik.com/kendo-vue-ui/components/inputs/switch)
* [TextArea Overview](https://www.telerik.com/kendo-vue-ui/components/inputs/textarea)
* [API Reference of the Inputs](https://www.telerik.com/kendo-vue-ui/components/inputs/api)

## Learning Resources

* [Getting Started with Kendo UI for Vue suite](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)
* [Explore the Coffee Warehouse Sample Application](https://github.com/telerik/kendo-vue/tree/master/examples-standalone/coffee-warehouse)
* [Kendo UI Productivity Tools extension for VS Code](https://www.telerik.com/kendo-vue-ui/components/vscode-extension)
