New to Kendo UI for Vue? Start a free 30-day trial

Vue Code Snippets

The Kendo UI Productivity Tools extension provides a handy feature for improving the daily development with our library – code snippets for fast UI component reference and configuration. Snippets simplify and accelerate the implementation of Kendo UI components in your project. They facilitate the development process by providing a quick way for adding the components directly in the source-code, while also including predefined tab stops for the required options.

Our snippets library covers all our components. You can easily add a Grid, Inputs, Layouts, Scheduler, Buttons, etc. just with a single snippet.

To take advantage of the tens availbale code snippets, follow the steps below:

  1. Make sure you have the Volar extension installed.
  2. Click inside the template section of the component, where the Kendo UI for Vue Native component should be inserted.
  3. Type the kv- snippet prefix to list the Kendo UI for Vue snippets
  4. Continue by typing the name of the component that should be inserted. Some components are provided by multiple snippets, which allow you to create them in multiple ways, depending on the desired configuration

VSCode-Snippets

  1. Press Enter to insert the desired component in the source-code
  2. Optionally, if the component provides placeholders for specific properties, you could iterate and provide them by pressing the Tab key
  3. Import the component whose snippet is inserted. Details about the package you need to import can be found in the description popup of the inserted snippet. For example:
    import { AutoComplete } from '@progress/kendo-vue-dropdowns';
    
  4. If using the Options API, add the component name in the components section. For example:
    components: {
        AutoComplete
    }

Code Snippets Library

COMPONENTSNIPPETS
Buttons
Buttonkv-button
ButtonGroupkv-buttongroup
Chipkv-chip
ChipListkv-chiplist
DropDownButtonkv-dropdownbutton
FloatingActionButtonkv-floatingactionbutton
Toolbarkv-toolbar
SplitButtonkv-splitbutton
Charts
Area Chartkv-area-chart
Bar Chartkv-bar-chart
Box Plotkv-box-plot-chart
Bubblekv-bubble-chart
Bulletkv-bullet-chart
Donutkv-donut-chart
Funnelkv-funnel-chart
Linekv-line-chart
Piekv-pie-chart
Polarkv-polar-chart
Radarkv-radar-chart
Range Areakv-range-area-chart
Range Barkv-range-bar-chart
Scatterkv-scatter-chart
Sparklinekv-sparkline-chart
Stock Chartkv-stock-chart
Waterfall Chartkv-waterfall-chart
Data Tools
Filterkv-filter
Pagerkv-pager
DateInputs
Calendarkv-calendar
DateInputkv-dateinput
DatePickerkv-datepicker
DateTimePickerkv-datetimepicker
DateRangePickerkv-daterangepicker
MultiViewCalendarkv-multiviewcalendar
TimePickerkv-timepicker
Dialogs
Dialogkv-dialog
Dialog Action Barkv-dialog-actions-bar
Windowkv-window
Dropdowns
AutoCompletekv-autocomplete
ComboBoxkv-combobox
DropDownListkv-dropdownlist
MultiSelectkv-multiselect
Editor
Editorkv-editor
Form
Formkv-form
Form Fieldkv-form-field
Form Elementkv-form-element
Gauges
ArcGaugekv-arc
CircularGaugekv-circular
LinearGaugekv-linear
RadialGaugekv-radial
Grid
Gridkv-grid
Grid Virtual Scrollingkv-grid-virtualization
Indicators
Loaderkv-loader
Skeletonkv-skeleton
Inputs
Checkboxkv-checkbox
Inputkv-input
MaskedTextBoxkv-maskedtextbox
NumericTextBoxkv-numerictextbox
RadioButtonkv-radiobutton
RadioGroupkv-radiogroup
Sliderkv-slider
RangeSliderkv-rangeslider
Slider Labelkv-slider-label
Switchkv-switch
TextAreakv-textarea
Labels
FloatingLabelkv-floatinglabel
Labelkv-label
Hintkv-hint
Errorkv-error
Layout
Avatarkv-avatar
Cardkv-card
Card Headerkv-card-header
Card Titlekv-card-title
Card Subtitlekv-card-subtitle
Card Bodykv-card-body
Card Actionskv-card-actions
Card Footerkv-card-footer
Card Imagekv-card-image
Drawerkv-drawer
Menukv-menu
ContextMenukv-contextmenu
PanelBarkv-panelbar
Splitterkv-splitter
Stepperkv-stepper
TabStripkv-tabstrip
Wizardkv-wizard
Notification
Notificationkv-notification
Notification Groupkv-notification-group
Popup
Popupkv-popup
Progress Bars
ProgressBarkv-progressbar
Scheduler
Schedulerkv-scheduler
ScrollView
ScrollViewkv-scrollview
Tooltip
Tooltipkv-tooltip
TreeView
TreeViewkv-treeview
Upload
Uploadkv-upload

In this article

Not finding the help you need?