Polymer element for partitioning a layout into resizeable areas

Usage no npm install needed!

<script type="module">
  import vaadinSplitLayout from '';


Bower version Published on Polymer 2 supported Build status Gitter


Live Demo ↗

<vaadin-split-layout> is a Polymer element implementing a split layout for two content elements with a draggable splitter between them, part of the vaadin-core-elements element bundle.

  <vaadin-split-layout vertical>
    <div>First layout content</div>
    <div>Second layout content</div>
  <vaadin-split-layout vertical>
    <div>Third layout content</div>
    <div>Fourth layout content</div>

Screenshot of vaadin-split-layout

Running demos and tests in browser

  1. Fork the vaadin-split-layout repository and clone it locally.

  2. Make sure you have npm installed.

  3. When in the vaadin-split-layout directory, run npm install and then polymer install --variants to install dependencies.

  4. Run polymer serve, after that you will be able to access:

Note that ports 8000 and 8001 could be different in your environment.

Running tests from the command line

  1. When in the vaadin-split-layout directory, run polymer test

Following the coding style

We are using ESLint for linting JavaScript code. You can check if your code is following our standards by running gulp lint, which will automatically lint all .js files as well as JavaScript snippets inside .html files.

Creating a pull request

  • Make sure your code is compliant with our code linters: gulp lint
  • Check that tests are passing: polymer test
  • Submit a pull request with detailed title and description
  • Wait for response from one of Vaadin Elements team members


Apache License 2.0