Kendo UI for Vue Layout Overview
The Kendo UI for Vue Native Layout components enable you to create a perceptive and intuitive layout of web projects and provide an easier navigation.
The Kendo UI for Vue Native Layout components are part of the Kendo UI for Vue library which provides native Vue components for the Vue ecosystem and are available under the kendo-vue-layout NPM package.
Basic Usage
The following example demonstrates the Layout components in action.
Installation
To initialize the Layout, either:
Using CDN
To use the Kendo UI for Vue Native Layout with CDN, follow the below steps:
- Reference the
layout
andintl
packages.
<script src="https://unpkg.com/@progress/kendo-vue-intl@latest/dist/cdn/js/kendo-vue-intl.js"></script>
<script src="https://unpkg.com/@progress/kendo-vue-layout@latest/dist/cdn/js/kendo-vue-layout.js"></script>
- Reference one of the Kendo UI themes to style your components.
// Load the Kendo Default Theme
<link rel="stylesheet" href="https://unpkg.com/@progress/kendo-theme-default@latest/dist/all.css">
// Load the Kendo Bootstrap Theme
<link rel="stylesheet" href="https://unpkg.com/@progress/kendo-theme-bootstrap@latest/dist/all.css">
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
// To load the Kendo Material Theme
<link rel="stylesheet" href="https://unpkg.com/@progress/kendo-theme-material@latest/dist/all.css">
// To load the Kendo Fluent Theme
<link rel="stylesheet" href="https://unpkg.com/@progress/kendo-theme-fluent@latest/dist/all.css">
- Follow the instructions in this article to activate your product license. You can skip this step if your application already contains a license key.
Initializing with Webpack
-
Download and install the package. Use Node.js v5.0.0 or later.
npm install --save @progress/kendo-vue-layout @progress/kendo-vue-intl @progress/kendo-licensing @progress/kendo-svg-icons
-
Once installed, import the package module.
// ES2015 module syntax import { AppBar, Avatar, BottomNavigation, Card, Drawer, ExpansionPanel, Menu, PanelBar, Splitter, Stepper, TabStrip } from '@progress/kendo-vue-layout';
// CommonJS format const { AppBar, Avatar, BottomNavigation, Card, Drawer, ExpansionPanel, Menu, PanelBar, Splitter, Stepper, TabStrip } = require('@progress/kendo-vue-layout');
-
You are required to install one of the Kendo UI for Vue Native themes to style your components. For more information on how to add the styles, refer to the article on getting started.
-
Follow the instructions on the Kendo UI for Vue Native My License page to activate your license. You can skip this step if your application already contains a Kendo UI for Vue Native license file.
Dependencies
The Layout package requires you to install the following peer dependencies in your application:
- @progress/kendo-licensing
- @progress/kendo-svg-icons
- @progress/kendo-vue-intl
Support and Learning Resources
- AppBar Homepage
- Avatar Homepage
- BottomNavigation Homepage
- Card Homepage
- ContextMenu Homepage
- Drawer Homepage
- ExpansionPanel Homepage
- Menu Homepage
- PanelBar Homepage
- Splitter Homepage
- Stepper Homepage
- TabStrip Homepage
- TileLayout Homepage
- Getting Started with the Kendo UI Vue Layout
- API Reference of the Layout Package
- Getting Started with Kendo UI for Vue - JavaScript (Online Guide)
- Getting Started with Kendo UI for Vue - TypeScript (Online Guide)
- Getting Started with Kendo UI for Vue - JavaScript + Options API (Online Guide)
- Getting Started with Kendo UI for Vue - TypeScript + Options API (Online Guide)
- Getting Started with Kendo UI for Vue - Nuxt 3 (Online Guide)
- Virtual Classroom (Training Course for Registered Users)
- Kendo UI for Vue Forum
- Knowledge Base
- Kendo UI Productivity Tools extension for VS Code