/syncfusion-javascript:syncfusion-javascript-dashboard-layoutfrom Syncfusion JavaScript UI Controls
Build responsive dashboard layouts with drag-and-drop panels, dynamic resizing, and state persistence. Guide users to implement DashboardLayout control with panel management, dragging, resizing, floating, and persistence features. Includes event handling, dynamic panel addition/removal, and comprehensive API reference.
Ships in Syncfusion JavaScript UI Controls. 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 DashboardLayout is a powerful grid-based layout component that enables creating interactive dashboard interfaces with draggable, resizable panels. It supports dynamic panel management, floating layouts, state persistence, and responsive behavior through media queries. Users can rearrange panels, resize them in multiple directions, and save/restore layout configurations.
📄 Read: references/getting-started.md
📄 Read: references/panel-configuration.md
📄 Read: references/dragging-and-moving.md
📄 Read: references/moving-panels.md
📄 Read: references/resizing-panels.md
📄 Read: references/panel-manipulation.md
📄 Read: references/floating-and-responsive.md
📄 Read: references/persistence-and-state.md
📄 Read: references/events-handling.md
📄 Read: references/api-reference.md
import { DashboardLayout } from '@syncfusion/ej2-layouts';
// Initialize Dashboard Layout with 5 columns
let dashboard: DashboardLayout = new DashboardLayout({
cellSpacing: [10, 10],
columns: 5,
panels: [
{
'id': 'Panel1',
'sizeX': 2,
'sizeY': 2,
'row': 0,
'col': 0,
content: '<div class="content">Panel 1</div>'
},
{
'id': 'Panel2',
'sizeX': 3,
'sizeY': 2,
'row': 0,
'col': 2,
content: '<div class="content">Panel 2</div>'
}
]
});
// Render to container
dashboard.appendTo('#dashboard_layout');
const dashboard = new DashboardLayout({
allowDragging: true, // Enable drag and reorder
allowResizing: true, // Enable resize
allowFloating: true, // Auto-fill empty spaces
cellSpacing: [10, 10],
columns: 6,
panels: [
{ 'sizeX': 2, 'sizeY': 2, 'row': 0, 'col': 0, content: '<div>Widget 1</div>' },
{ 'sizeX': 2, 'sizeY': 2, 'row': 0, 'col': 2, content: '<div>Widget 2</div>' }
]
});
dashboard.appendTo('#dashboard');
const dashboard = new DashboardLayout({
columns: 5,
dragStart: (args) => console.log('Drag started on panel:', args.element),
drag: (args) => console.log('Dragging panel...'),
dragStop: (args) => {
console.log('Drag completed. Modified panels:', args.panels);
},
panels: [...] // panel configuration
});
dashboard.appendTo('#dashboard');
const dashboard = new DashboardLayout({
columns: 5,
panels: [...]
});
dashboard.appendTo('#dashboard');
// Save current layout
const savedLayout = dashboard.serialize();
// Later: Restore layout
dashboard.panels = savedLayout;
const dashboard = new DashboardLayout({
columns: 6,
mediaQuery: '(max-width: 600px)', // Stack panels below 600px
enablePersistence: true, // Remember user layout
panels: [...]
});
dashboard.appendTo('#dashboard');
row, col, sizeX, and sizeYcolumns defines the total grid columns availablecellSpacing controls horizontal and vertical spacing between panelssizeX: Width in grid cells (e.g., sizeX: 2 means 2 columns wide)sizeY: Height in grid cellsminSizeX/maxSizeX and minSizeY/maxSizeY: Constrain resize operations✅ Perfect for:
❌ Not ideal for:
Next Steps:
For complete API documentation, see references/api-reference.md.
references/api-reference.md (opens in a new tab)references/dragging-and-moving.md (opens in a new tab)references/events-handling.md (opens in a new tab)references/floating-and-responsive.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/moving-panels.md (opens in a new tab)references/panel-configuration.md (opens in a new tab)references/panel-manipulation.md (opens in a new tab)references/persistence-and-state.md (opens in a new tab)references/resizing-panels.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-javascriptOther plugins' skills for the same job
67 skills in this plugin
/syncfusion-javascript-3d-chartCreate interactive 3D charts in Syncfusion TypeScript and JavaScript. Immediately use this skill when user needs to build 3D visualizations, render 3D column/bar charts, configure 3D rotation and depth, visualize data in three dimensions, customize 3D chart appearance, handle 3D interactions, or implement advanced 3D features. Works with TypeScript (webpack/module-based) and JavaScript (CDN/ES5)./syncfusion-javascript-accordionBuild collapsible navigation panels with the Syncfusion TypeScript Accordion component. Use this skill when implementing vertical accordion menus, expanding/collapsing content panels, multi-step wizards, data-driven panels with dynamic content, tabbed navigation alternatives, or nested hierarchical content structures. Covers initialization, expand modes, animations, icons, templates, styling, data binding, and advanced use cases like form wizards./syncfusion-javascript-accumulation-chartImplements Syncfusion JavaScript accumulation charts (Pie, Doughnut, Funnel, Pyramid) for proportional and percentage-based visualizations. Use when displaying categorical or proportional data. Covers legend and label configuration, interactivity, accessibility, and customization. Works with TypeScript (modules) and JavaScript (CDN/ES5).