/syncfusion-vue:syncfusion-vue-layoutsfrom Syncfusion Vue UI Components
Comprehensive guide for implementing Syncfusion Vue 3 Layout components including Card, DashboardLayout, ListView, Splitter, and Timeline. Use when building card-based content containers, customizable draggable dashboards, interactive data lists, resizable multi-pane layouts, and chronological event timelines. Covers installation, data binding, templating, customization, drag-and-drop, resizing, panel management, virtualization, accessibility, and styling in Vue 3 applications.
Ships in Syncfusion Vue UI Components. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The Syncfusion Vue 3 Layout components provide a suite of UI building blocks for organizing content, data, and interactive panels in Vue 3 applications. This unified package covers five complementary components: Card for content containers, DashboardLayout for customizable panel grids, ListView for interactive lists, Splitter for resizable panes, and Timeline for chronological event displays. All examples use the Vue 3 Composition API with <script setup> SFCs.
Most layout components ship from the @syncfusion/ej2-vue-layouts package. The Card component uses @syncfusion/ej2-vue-layouts (CSS only). The ListView component uses @syncfusion/ej2-vue-lists.
# Card, Dashboard Layout, Splitter, Timeline
npm install @syncfusion/ej2-vue-layouts
# ListView
npm install @syncfusion/ej2-vue-lists @syncfusion/ej2-data
/* Card, DashboardLayout, Splitter, Timeline */
@import '@syncfusion/ej2-base/styles/tailwind3.css';
@import '@syncfusion/ej2-vue-layouts/styles/tailwind3.css';
/* ListView */
@import '@syncfusion/ej2-base/styles/tailwind3.css';
@import '@syncfusion/ej2-vue-lists/styles/tailwind3.css';
The Syncfusion Vue 3 Card is a lightweight, CSS-based container for displaying organized content. It supports headers, images, dividers, action buttons, and horizontal layouts. No JavaScript instance is required—build cards with e-card-* CSS classes. Card is a presentational component, so you build it directly with Vue template syntax.
<template>
<div class="e-card">
<div class="e-card-header">
<div class="e-card-header-caption">
<div class="e-card-header-title">Card Title</div>
<div class="e-card-sub-title">Subtitle</div>
</div>
</div>
<div class="e-card-content">
Card body content goes here.
</div>
<div class="e-card-actions">
<button class="e-card-btn">View</button>
<button class="e-card-btn">Share</button>
</div>
</div>
</template>
<script setup>
import '@syncfusion/ej2-vue-layouts/styles/tailwind3.css';
</script>
📄 Read: references/cards-getting-started.md
📄 Read: references/cards-card-structure-headers.md
📄 Read: references/cards-images-titles-dividers.md
📄 Read: references/cards-action-buttons.md
📄 Read: references/cards-layouts-customization.md
📄 Read: references/cards-embedding-components.md
<template>
<div class="e-card e-card-horizontal" style="width: 400px;">
<img src="./product.jpg" alt="Product" style="width: 150px; height: 150px; object-fit: cover;" />
<div class="e-card-stacked">
<div class="e-card-header-title">Philips Trimmer</div>
<div class="e-card-content">Premium quality product.</div>
<div class="e-card-actions">
<button class="e-card-btn" style="flex: 1;">View</button>
<button class="e-card-btn" style="flex: 1;">Buy Now</button>
</div>
</div>
</div>
</template>
<template>
<div class="e-card">
<div class="e-card-image" :style="{ backgroundImage: 'url(./city.jpg)', height: '250px' }">
<div class="e-card-title e-card-bottom-left">Beautiful City</div>
</div>
<div class="e-card-content">Description text.</div>
</div>
</template>
| Class | Purpose |
|---|---|
e-card | Root card container (required) |
e-card-horizontal | Horizontal layout |
e-card-stacked | Vertical stack within horizontal |
e-card-header / -title / -sub-title | Header structure |
e-card-image / e-card-title | Image with overlay |
e-card-separator | Divider line |
e-card-content | Main content area |
e-card-actions / e-card-btn / e-card-vertical | Action buttons |
The Syncfusion Vue 3 DashboardLayoutComponent is a grid-based dashboard builder with draggable, resizable, and floating panels. It supports state persistence, responsive breakpoints, dynamic panel management, and event tracking for monitoring layout changes.
<template>
<DashboardLayoutComponent
ref="dashboardRef"
id="dashboard"
:columns="5"
:cellSpacing="[10, 10]"
:panels="panels"
:allowDragging="true"
:allowResizing="true"
:allowFloating="true"
/>
</template>
<script setup>
import { ref } from 'vue';
import { DashboardLayoutComponent } from '@syncfusion/ej2-vue-layouts';
import '@syncfusion/ej2-base/styles/tailwind3.css';
import '@syncfusion/ej2-vue-layouts/styles/tailwind3.css';
const dashboardRef = ref(null);
const panels = [
{ id: 'sales', row: 0, col: 0, sizeX: 2, sizeY: 2, header: 'Sales', content: 'Sales data' },
{ id: 'users', row: 0, col: 2, sizeX: 2, sizeY: 2, header: 'Users', content: 'User data' },
{ id: 'reports', row: 2, col: 0, sizeX: 4, sizeY: 1, header: 'Reports', content: 'Reports' }
];
</script>
📄 Read: references/dashboard-getting-started.md
📄 Read: references/dashboard-core-functionality.md
📄 Read: references/dashboard-properties-reference.md
📄 Read: references/dashboard-panel-templates.md
📄 Read: references/dashboard-styling-customization.md
📄 Read: references/dashboard-dragging-behavior.md
📄 Read: references/dashboard-resizing-floating.md
📄 Read: references/dashboard-cell-configuration.md
📄 Read: references/dashboard-responsive-design.md
📄 Read: references/dashboard-state-persistence.md
📄 Read: references/dashboard-methods-reference.md
📄 Read: references/dashboard-events-reference.md
📄 Read: references/dashboard-accessibility-wcag.md
📄 Read: references/dashboard-advanced-features.md
interface PanelModel {
id: string; // Unique identifier (required)
row: number; // Row position (required)
col: number; // Column position (required)
sizeX: number; // Width in cells (default: 1)
sizeY: number; // Height in cells (default: 1)
header?: string | HTMLElement | Function;
content?: string | HTMLElement | Function;
cssClass?: string;
enabled?: boolean;
minSizeX?: number;
minSizeY?: number;
maxSizeX?: number;
maxSizeY?: number;
zIndex?: number;
}
<script setup>
import { ref } from 'vue';
import { DashboardLayoutComponent } from '@syncfusion/ej2-vue-layouts';
const dashboardRef = ref(null);
const saveLayout = () => {
const layout = dashboardRef.value?.serialize();
localStorage.setItem('userDashboard', JSON.stringify(layout));
};
const restoreLayout = () => {
const saved = localStorage.getItem('userDashboard');
if (saved) {
const layout = JSON.parse(saved);
dashboardRef.value?.removeAll();
layout.forEach(panel => dashboardRef.value?.addPanel(panel));
}
};
</script>
<script setup>
import { ref } from 'vue';
import { DashboardLayoutComponent } from '@syncfusion/ej2-vue-layouts';
const dashboardRef = ref(null);
const addPanel = () => {
dashboardRef.value?.addPanel({
id: `panel-${Date.now()}`,
header: 'New Panel',
content: 'Content',
row: 0, col: 0, sizeX: 2, sizeY: 1
});
};
const removePanel = (panelId) => {
dashboardRef.value?.removePanel(panelId);
};
</script>
<template>
<DashboardLayoutComponent
:panels="panels"
@change="handleChange"
/>
</template>
<script setup>
const handleChange = (args) => {
console.log('Added:', args.addedPanels);
console.log('Removed:', args.removedPanels);
console.log('Changed:', args.changedPanels);
console.log('User interaction:', args.isInteracted);
};
</script>
The Syncfusion Vue 3 ListViewComponent displays collections of items with rich templating, single/multiple selection, filtering, grouping, drag-drop, and virtualization. Supports local arrays, DataManager remote sources, checkboxes, animations, RTL, and WCAG 2.1 AA accessibility.
<template>
<ListViewComponent
id="list"
:dataSource="data"
:fields="fields"
/>
</template>
<script setup>
import { ListViewComponent } from '@syncfusion/ej2-vue-lists';
import '@syncfusion/ej2-base/styles/tailwind3.css';
import '@syncfusion/ej2-vue-lists/styles/tailwind3.css';
const data = [
{ id: '1', text: 'Item 1' },
{ id: '2', text: 'Item 2' },
{ id: '3', text: 'Item 3' }
];
const fields = { text: 'text', id: 'id' };
</script>
📄 Read: references/listview-getting-started.md
📄 Read: references/listview-data-binding-rendering.md
📄 Read: references/listview-item-management.md
📄 Read: references/listview-selection-filtering.md
📄 Read: references/listview-templating-customization.md
📄 Read: references/listview-advanced-features.md
📄 Read: references/listview-layout-alignment-patterns.md
📄 Read: references/listview-quick-start-alignment.md
📄 Read: references/listview-performance-virtualization.md
📄 Read: references/listview-api-reference.md
📄 Read: references/listview-accessibility-events.md
| Property | Type | Default | Purpose |
|---|---|---|---|
dataSource | Array/DataManager | [] | Data to display |
fields | FieldSettingsModel | defaultMappedFields | Map data to fields |
template | string/function/Vue | null | Custom item template |
headerTemplate | string/function/Vue | null | Custom header template |
showCheckBox | boolean | false | Show checkboxes |
checkBoxPosition | 'Left'/'Right' | 'Left' | Checkbox position |
sortOrder | 'None'/'Ascending'/'Descending' | 'None' | Data sort order |
enableVirtualization | boolean | false | Virtual scrolling |
height | number/string | '' | List height |
width | number/string | '' | List width |
cssClass | string | '' | Custom CSS class |
enableRtl | boolean | false | Right-to-left support |
<template>
<ListViewComponent
:dataSource="items"
:showCheckBox="true"
:fields="fields"
/>
</template>
<script setup>
import { ListViewComponent } from '@syncfusion/ej2-vue-lists';
const items = [
{ id: '1', text: 'Item 1' },
{ id: '2', text: 'Item 2' }
];
const fields = { id: 'id', text: 'text', isChecked: 'checked' };
</script>
<template>
<div style="border: 1px solid #e0e0e0; border-radius: 4px; overflow: hidden; display: flex; flex-direction: column;">
<div style="padding: 16px; background-color: #f5f5f5; border-bottom: 1px solid #e0e0e0;">
<h3 style="margin: 0;">Messages</h3>
</div>
<div style="flex: 1; overflow: auto; min-height: 0;">
<ListViewComponent :dataSource="items" height="100%" width="100%" />
</div>
</div>
</template>
<template>
<ListViewComponent ref="listViewRef" :dataSource="items" />
<button @click="addItem">Add</button>
</template>
<script setup>
import { ref } from 'vue';
import { ListViewComponent } from '@syncfusion/ej2-vue-lists';
const listViewRef = ref(null);
const items = ref([{ text: 'Item 1', id: 1 }]);
const addItem = () => {
listViewRef.value?.addItem([{ text: 'New Item', id: Date.now() }]);
};
const removeItem = (item) => {
listViewRef.value?.removeItem(item);
};
</script>
height on parent container when using flex layoutoverflow: 'auto' and min-height: 0 on flex children for scrollingflex-shrink: 0 on headers to prevent shrinkinggap in templates instead of individual marginswidth: '100%' and height: '100%' on ListView to fill containerThe Syncfusion Vue 3 SplitterComponent creates flexible, resizable multi-pane layouts. Each pane is defined with <e-panes> and <e-pane> child directives. Supports horizontal/vertical orientation, expand/collapse, nested splitters, custom content, and accessibility.
<template>
<SplitterComponent>
<e-panes>
<e-pane size="200px">
<div>Left Panel</div>
</e-pane>
<e-pane size="300px">
<div>Right Panel</div>
</e-pane>
</e-panes>
</SplitterComponent>
</template>
<script setup>
import { SplitterComponent, PaneDirective, PanesDirective } from '@syncfusion/ej2-vue-layouts';
import '@syncfusion/ej2-base/styles/tailwind3.css';
import '@syncfusion/ej2-vue-layouts/styles/tailwind3.css';
</script>
📄 Read: references/splitter-getting-started.md
<e-panes> / <e-pane> directives📄 Read: references/splitter-properties-and-configuration.md
📄 Read: references/splitter-methods-reference.md
📄 Read: references/splitter-events-reference.md
📄 Read: references/splitter-pane-layout-configuration.md
📄 Read: references/splitter-pane-sizing-and-separation.md
📄 Read: references/splitter-expand-collapse-functionality.md
📄 Read: references/splitter-resize-behavior.md
📄 Read: references/splitter-pane-content-and-styling.md
📄 Read: references/splitter-accessibility-and-globalization.md
📄 Read: references/splitter-style-customization.md
| Prop | Type | Description |
|---|---|---|
orientation | 'Horizontal' / 'Vertical' | Layout direction |
size (Pane) | string (px, %) | Pane width/height |
min / max (Pane) | string | Min/max pane size |
collapsed (Pane) | boolean | Initial collapsed state |
collapsible (Pane) | boolean | Allow user to collapse |
resizable (Pane) | boolean | Allow user to resize |
<template>
<SplitterComponent orientation="Horizontal">
<e-panes>
<e-pane size="25%"><div>Left</div></e-pane>
<e-pane size="75%"><div>Main Content</div></e-pane>
</e-panes>
</SplitterComponent>
</template>
<template>
<SplitterComponent orientation="Vertical">
<e-panes>
<e-pane size="50%" :collapsed="true"><div>Top</div></e-pane>
<e-pane size="50%"><div>Bottom</div></e-pane>
</e-panes>
</SplitterComponent>
</template>
<template>
<SplitterComponent orientation="Horizontal">
<e-panes>
<e-pane size="20%"><div>Sidebar</div></e-pane>
<e-pane size="60%"><div>Main Content</div></e-pane>
<e-pane size="20%"><div>Right Panel</div></e-pane>
</e-panes>
</SplitterComponent>
</template>
Combine horizontal and vertical splitters for complex layouts like code editors with file explorer, editor, and console panels.
The Syncfusion Vue 3 TimelineComponent displays events or steps in chronological order with visual indicators. Supports vertical/horizontal layouts, multiple alignment modes (Before, After, Alternate, AlternateReverse), customizable dots and connectors, templates, and events.
<template>
<div style="height: 350px;">
<TimelineComponent>
<e-items>
<e-item content="Shipped" />
<e-item content="Departed" />
<e-item content="Arrived" />
<e-item content="Out for Delivery" />
</e-items>
</TimelineComponent>
</div>
</template>
<script setup>
import { TimelineComponent, ItemsDirective, ItemDirective } from '@syncfusion/ej2-vue-layouts';
import '@syncfusion/ej2-base/styles/tailwind3.css';
import '@syncfusion/ej2-vue-layouts/styles/tailwind3.css';
</script>
📄 Read: references/timeline-getting-started.md
<e-items> / <e-item> vs. items array📄 Read: references/timeline-layout-configuration.md
📄 Read: references/timeline-items-and-content.md
📄 Read: references/timeline-styling-and-customization.md
📄 Read: references/timeline-events-and-callbacks.md
📄 Read: references/timeline-advanced-features.md
📄 Read: references/timeline-accessibility.md
| Prop | Type | Values | Purpose |
|---|---|---|---|
orientation | string | Vertical (default), Horizontal | Layout direction |
align | string | Before, After, Alternate, AlternateReverse | Content positioning |
reverse | boolean | true, false | Reverse item order |
cssClass | string | CSS class name | Global styling |
template | function | Render function | Custom item rendering |
content (item) | string/function | Text or template | Event text/content |
oppositeContent (item) | string/function | Secondary content | Secondary content |
dotCss (item) | string | CSS class | Dot styling |
disabled (item) | boolean | true, false | Disable item |
cssClass (item) | string | CSS class | Per-item styling |
<template>
<TimelineComponent orientation="Vertical" align="Before">
<e-items>
<e-item content="Step 1" oppositeContent="Description" />
<e-item content="Step 2" oppositeContent="Description" />
</e-items>
</TimelineComponent>
</template>
<template>
<TimelineComponent orientation="Horizontal" align="Alternate">
<e-items>
<e-item content="Event 1" oppositeContent="Date 1" />
<e-item content="Event 2" oppositeContent="Date 2" />
</e-items>
</TimelineComponent>
</template>
<template>
<TimelineComponent>
<e-items>
<e-item content="Shipped" dotCss="e-icons e-package" />
<e-item content="Delivered" dotCss="e-icons e-check" cssClass="state-completed" />
</e-items>
</TimelineComponent>
</template>
<template>
<TimelineComponent :reverse="true">
<e-items>
<e-item content="Latest activity" />
<e-item content="Previous activity" />
</e-items>
</TimelineComponent>
</template>
All layout components (except Card CSS-only) require:
npm install @syncfusion/ej2-base @syncfusion/ej2-vue-layouts
CSS imports must precede component usage:
<script setup>
import '@syncfusion/ej2-base/styles/tailwind3.css';
import '@syncfusion/ej2-vue-layouts/styles/tailwind3.css';
</script>
<template>
<Component id="my-component" orientation="Vertical">
<e-items>
<e-item content="Item 1" />
<e-item content="Item 2" />
</e-items>
</Component>
</template>
DashboardLayout, Splitter, and ListView support ref() for imperative control:
<script setup>
import { ref } from 'vue';
const componentRef = ref(null);
const callMethod = () => {
componentRef.value?.methodName(args);
};
</script>
<template>
<Component ref="componentRef" />
</template>
Syncfusion uses lowercase event names without on prefix:
@click, @change@change, @select, @created, @dragStartUse ref() or reactive() with the change or select event to keep state in sync:
<script setup>
import { ref } from 'vue';
const value = ref(null);
const handleChange = (e) => { value.value = e.value; };
</script>
<template>
<Component :value="value" @change="handleChange" />
</template>
All components support :enableRtl="true" for right-to-left languages.
All components support :enablePersistence="true" to save state across page reloads.
node_modules/@syncfusion/ej2-vue-layouts/styles/ and load before component styles.v-model or value prop and @change event to keep Vue state in sync. Do not rely on framework-specific bindings.@select event handler.style="height: 350px;". Without it, items will not render.ref(null).<Component ref="componentRef" />.componentRef.value (not componentRef.current).<e-pane> wraps content in a child element.id, row, col.panels array is passed to the component.sizeX and sizeY do not exceed columns count.e-card-horizontal AND e-card-stacked together for horizontal cards.overflow: auto with min-height: 0 on scrollable children.display: flex and flex-direction: column.width: '100%' and height: '100%' on ListView to fill container.gap in templates instead of individual margins.import { DashboardLayoutComponent, PanelModel } from '@syncfusion/ej2-vue-layouts'.ref<DashboardLayoutComponent | null>(null).| Need | Use |
|---|---|
| Display content in a structured card with header/image/buttons | Card |
| Build a customizable dashboard with draggable panels | DashboardLayout |
| Display a scrollable list of items with selection/filtering | ListView |
| Create resizable multi-pane layouts (split views) | Splitter |
| Show events in chronological order with visual indicators | Timeline |
Next Steps: Choose a reference file based on your specific component need, then implement your layout following the examples and patterns provided. The unified structure makes it easy to combine multiple layout components (e.g., Cards inside a Splitter, ListView inside a Card, Timeline items inside a DashboardLayout panel).
references/cards-action-buttons.md (opens in a new tab)references/cards-card-structure-headers.md (opens in a new tab)references/cards-embedding-components.md (opens in a new tab)references/cards-getting-started.md (opens in a new tab)references/cards-images-titles-dividers.md (opens in a new tab)references/cards-layouts-customization.md (opens in a new tab)references/dashboard-accessibility-wcag.md (opens in a new tab)references/dashboard-advanced-features.md (opens in a new tab)references/dashboard-cell-configuration.md (opens in a new tab)references/dashboard-core-functionality.md (opens in a new tab)references/dashboard-dragging-behavior.md (opens in a new tab)references/dashboard-events-reference.md (opens in a new tab)references/dashboard-getting-started.md (opens in a new tab)references/dashboard-methods-reference.md (opens in a new tab)references/dashboard-panel-templates.md (opens in a new tab)references/dashboard-properties-reference.md (opens in a new tab)references/dashboard-resizing-floating.md (opens in a new tab)references/dashboard-responsive-design.md (opens in a new tab)references/dashboard-state-persistence.md (opens in a new tab)references/dashboard-styling-customization.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-vue49 skills in this plugin
/syncfusion-vue-3d-chartImplementing Syncfusion Vue 3D Chart component for interactive 3D data visualization. Use this skill ALWAYS when user needs to create 3D charts, visualize data in 3D columns/bars, customize 3D chart axes, configure 3D chart types, style 3D chart appearance, implement user interactions like tooltips and selection, or export/print 3D charts. Essential for displaying multidimensional data with rotation, perspective, and enhanced visual appeal./syncfusion-vue-3d-circular-chartCreate interactive 3D pie and donut charts using Syncfusion Vue components. Use this skill whenever the user needs to visualize data as circular/pie charts with 3D perspective, create donut visualizations, add data labels to charts, customize chart legends, tooltips, empty points and animations. Trigger when user mentions 3D charts, pie charts, donut charts, circular visualizations, 3D pie, data visualization, chart rotation, chart interactivity, or circular types./syncfusion-vue-accumulation-chartMaster Syncfusion Vue Accumulation Charts for building pie, doughnut, funnel, and pyramid visualizations. Always includes data binding, legend configuration, data labels, and accessibility features. Immediately implement any chart type, customize styling, configure legends, format data labels, and add drill-down interactivity using ALWAYS comprehensive examples and patterns./syncfusion-vue-ai-assistviewImplement the Syncfusion Vue AI AssistView component. Use this skill whenever the user needs to create conversational AI interfaces, chatbots, prompt-response systems, or integrate AI services like OpenAI, Gemini, or Claude into Vue applications. Includes setup, prompt management, suggestions, customization, event handling, templates, markdown responses, AI service integration, chain of thoughts visualization, generative UI with dynamic tools, text-to-speech audio conversion, telemetry tracking for AI metrics (duration, tokens, tool calls), and mentions in the prompt editor./syncfusion-vue-barcodeCreate and customize barcode, QR code, and Data Matrix components using Syncfusion Vue Barcode Generator. Use this skill when implementing barcode generation, QR code creation, Data Matrix codes, export functionality, and barcode styling. Covers Syncfusion's BarcodeGenerator, QRCodeGenerator, and DataMatrixGenerator components for Vue applications (Composition API and Options API)./syncfusion-vue-blockeditorImplement Syncfusion Vue BlockEditor component for block-based content editing with rich text, images, tables, and interactive blocks. Use this skill ALWAYS when user needs block editor, notion-style editor, content blocks, rich text blocks, document editor with blocks, modular content editor, or mentions @syncfusion/ej2-vue-blockeditor, BlockEditor, block-based editing, content management editor, collaborative editing, real-time collaboration. Covers all 14 block types, 5 content types, drag-and-drop, menus, methods, events, real-time collaborative editing with Yjs support, user presence and remote cursors, version history, and Composition API patterns.