v2.0.0-beta1
Pre-release
Pre-release
DiegoCardoso
released this
02 May 08:13
·
72 commits
to master
since this release
App Layout 2.0 is a component built to create beautiful and responsive layout for your application with ease. It comes with three main areas: a navbar, a drawer and a content area. It also comes with vaadin-drawer-toggle
, a small component with a hamburger icon to easily control the drawer open/close state.
A simple way to create an vaadin-app-layout
would be:
<vaadin-app-layout>
<vaadin-drawer-toggle slot="navbar"></vaadin-drawer-toggle>
<h3 slot="navbar">App Name</h3>
<ul slot="drawer">
<li><a href="page1">Page 1</a></li>
</ul>
<main>
The content
</main>
</vaadin-app-layout>
Live Demo →
API Documentation →