The Vue Sidebar is an expandable and collapsible component that typically acts as a side container to place primary or secondary content alongside the main content. It provides flexible options to be shown and hidden based on user interactions. Any type of HTML content or component can be placed in the Sidebar for quick access and for easy navigation, like quick references, menus, lists, and tree views.
Different types of slide-out content in the Vue Sidebar component give users the flexibility to view or hide content over or above the main content by pushing, sliding, or overlaying it.
The Vue Sidebar control positions its content to the left or right side of the main content area. This option allows the placement of two sidebars in a page, both at the left and right, to show primary and secondary content simultaneously.
When you dock the side content to give the main content more space, the navigation text is represented as a shortened view of icons.
Bind custom actions to any element (hamburger menu or buttons) to toggle the sidebar.
Auto closing the Vue Sidebar component’s content allows the main content area to be more readable.
The Vue Sidebar component’s responsive mode gives an adaptive, redesigned UI appearance for mobile devices.
Developers have control over all the UI elements and behaviors of the components to provide the best experience to end users with a rich set of developer-friendly APIs.
The Sidebar component is also available in Blazor, React, Angular, and JavaScript frameworks. Check out the different Sidebar platforms from the links below,
Easily get started with the Vue Sidebar using a few simple lines of Vue codes as demonstrated below. Also explore our Vue Sidebar Example that shows you how to render and configure a Sidebar in Vue.
<template>
<div id="app">
<ejs-sidebar>
<div class="title"> Sidebar content</div>
</ejs-sidebar>
</div>
</template>
<script>
import Vue from 'vue';
import { SidebarPlugin } from '@syncfusion/ej2-vue-navigations';
Vue.use(SidebarPlugin);
export default {
}
</script>
<style>
@import "../node_modules/@syncfusion/ej2-base/styles/material.css";
@import "../node_modules/@syncfusion/ej2-vue-navigations/styles/material.css";
</style>
You can find our Vue Sidebar demo here.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.