/syncfusion-aspnet-core:syncfusion-aspnetcore-sidebarfrom Syncfusion ASP.NET Core UI Controls
Implement the Syncfusion ASP.NET Core Sidebar component to create responsive, collapsible navigation containers that adapt seamlessly to mobile and desktop layouts.
Ships in Syncfusion ASP.NET Core 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 Sidebar component is an expandable or collapsible navigation container that acts as a side panel to display primary or secondary content alongside the main content area. It provides flexible positioning, multiple expansion types, and responsive behavior ideal for modern web applications.
Use this skill when you need to:
📄 Read: references/getting-started.md
📄 Read: references/sidebar-types.md
📄 Read: references/managing-state.md
📄 Read: references/positioning-and-sizing.md
📄 Read: references/advanced-features.md
📄 Read: references/events-and-callbacks.md
📄 Read: references/internationalization.md
📄 Read: references/styling-and-appearance.md
📄 Read: references/api-reference.md
Here's a minimal Sidebar implementation with a toggle button:
<ejs-sidebar id="default-sidebar" type="Push" isOpen="false">
<e-content-template>
<div style="padding: 20px;">
<h3>Sidebar Menu</h3>
<p>Navigation items go here</p>
</div>
</e-content-template>
</ejs-sidebar>
<div style="padding: 20px;">
<ejs-button id="toggleBtn" content="Toggle Sidebar" onclick="toggleSidebar()"></ejs-button>
<h2>Main Content</h2>
<p>Your page content appears here</p>
</div>
<script>
var sidebar;
document.addEventListener('DOMContentLoaded', function () {
sidebar = document.getElementById('default-sidebar').ej2_instances[0];
});
function toggleSidebar() {
sidebar.toggle();
}
</script>
Use type="Auto" to automatically switch between Over (mobile) and Push (desktop) based on screen resolution:
<ejs-sidebar id="navbar" type="Auto" isOpen="false">
<!-- Navigation items -->
</ejs-sidebar>
Enable docking with reserved space for icon-only view:
<ejs-sidebar id="dockedbar"
enableDock="true"
dockSize="60px"
type="Push">
<!-- Icon items -->
</ejs-sidebar>
Show content overlay when sidebar opens:
<ejs-sidebar id="overlaybar"
type="Over"
showBackdrop="true"
closeOnDocumentClick="true">
<!-- Content -->
</ejs-sidebar>
Place sidebar on the right side:
<ejs-sidebar id="rightbar" position="Right" type="Push">
<!-- Right-side navigation -->
</ejs-sidebar>
Set specific width in pixels:
<ejs-sidebar id="custombar" type="Push" width="320px">
<!-- Content with 320px width -->
</ejs-sidebar>
| Property | Type | Purpose |
|---|---|---|
type | SidebarType | Controls how sidebar expands (Over/Push/Slide/Auto) |
position | SidebarPosition | Sidebar placement (Left/Right) |
isOpen | boolean | Initial open/closed state |
width | string/number | Sidebar width ('auto', '300px', or number) |
enableDock | boolean | Enables docked state mode |
dockSize | string/number | Width when docked ('auto', '60px', or number) |
animate | boolean | Enable/disable expansion animations |
enableGestures | boolean | Enable touch swipe to expand/collapse |
mediaQuery | string | CSS media query for responsive behavior |
showBackdrop | boolean | Show overlay when sidebar is open |
closeOnDocumentClick | boolean | Close sidebar when clicking outside |
enableRtl | boolean | Right-to-left layout support |
zIndex | string/number | Layering for overlay mode (default: 1000) |
target | HTMLElement/string | Container for sidebar (custom context) |
enablePersistence | boolean | Preserve state across page reloads |
The Sidebar component is built on the Syncfusion EJ2 framework and provides:
For detailed implementation examples and advanced scenarios, refer to the reference guides above.
references/advanced-features.md (opens in a new tab)references/api-reference.md (opens in a new tab)references/events-and-callbacks.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/internationalization.md (opens in a new tab)references/managing-state.md (opens in a new tab)references/positioning-and-sizing.md (opens in a new tab)references/sidebar-types.md (opens in a new tab)references/styling-and-appearance.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-aspnet-core66 skills in this plugin
/syncfusion-aspnetcore-3d-chartGuide for implementing Syncfusion 3D Chart in ASP.NET Core. Always use this skill when user needs 3D chart functionality, data visualization, series configuration, axes setup, or interactive chart features like tooltips and selection. Covers setup, data binding, chart types, styling, and user interactions./syncfusion-aspnetcore-accordionImplement Syncfusion Accordion component for organizing expandable navigation and content sections with single or multiple pane expansion support./syncfusion-aspnetcore-Other plugins' skills for the same job