• Introduction
  • Getting Started
  • Vue 2 End of Support
  • Native Components
    • Animation
    • Buttons
    • Chartsupdated
    • Conversational UInew
    • Data Query
    • Data Tools
    • Date Inputs
    • Date Math
    • Dialogs
    • Drawing
    • Dropdownsupdated
    • Editor
    • Excel Export
    • File Saver
    • Form
    • Gauges
    • Grid
    • Icons
    • Indicators
    • Inputs
    • Labels
    • Layoutupdated
      • Overview
      • Getting Started
      • ActionSheetnew
      • AppBar
      • Avatar
      • BottomNavigation
      • Card
      • ContextMenu
      • Drawer
      • ExpansionPanelnew
      • GridLayoutnew
      • Menu
      • PanelBar
      • Splitter
      • StackLayoutnew
      • Stepper
      • TabStrip
      • TileLayoutupdated
      • Wizard
      • Globalization
      • API
    • ListBox
    • ListView
    • Notification
    • PDF Processing
    • Popup
    • Progress Bars
    • Scheduler
    • ScrollView
    • Tooltip
    • TreeList
    • TreeView
    • Upload
  • Wrapper Components
  • Sample Applications
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Changelog
  • FAQ
  • Troubleshooting
New to Kendo UI for Vue? Start a free 30-day trial

Splitter

Represents the Kendo UI for Vue Native Splitter component.

<template>
  <Splitter
    :style="{ height: '340px' }"
    :panes="panes"
    :orientation="'vertical'"
    @change="onChange"
  >
    <template v-slot:first>
      <div class="pane-content">
        <h3>Top Pane</h3>
      </div>
    </template>
    <template v-slot:second>
      <div class="pane-content">
        <h3>Bottom Pane</h3>
      </div>
    </template>
  </Splitter>
</template>

<script>
import { Splitter } from '@progress/kendo-vue-layout';
import './styles.css';

export default {
  components: {
    Splitter,
  },
  data() {
    return {
      panes: [
        { size: '40%', containsSplitter: true, content: 'first' },
        { content: 'second' },
      ],
    };
  },
  methods: {
    onChange(event) {
      this.panes = event.newState;
    },
  },
};
</script>

props Readonly<SplitterProps

The props of the Splitter component.

In this article

Not finding the help you need?