/syncfusion-javascript:syncfusion-javascript-accordionfrom Syncfusion JavaScript UI Controls
Build 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.
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 Accordion is a vertically collapsible content panel component that displays one or more expandable/collapsible panels. It supports single or multiple expand modes, custom animations, icons, templates, and data binding.
Use this skill when your user needs to:
The skill is organized into focused reference files covering different aspects:
📄 API Reference ⭐ START HERE FOR COMPLETE API
import { Accordion } from '@syncfusion/ej2-navigations';
// Initialize Accordion with items array
const accordion = new Accordion({
items: [
{
header: 'Getting Started',
content: 'Learn the basics of Accordion component',
expanded: true
},
{
header: 'Features',
content: 'Explore rich features like templates and data binding'
},
{
header: 'API Reference',
content: 'Complete list of properties, events, and methods'
}
],
// Use animation object, not enableAnimation boolean
animation: {
expand: { effect: 'SlideDown', duration: 400, easing: 'ease-in' },
collapse: { effect: 'SlideUp', duration: 400, easing: 'ease-out' }
}
});
accordion.appendTo('#accordion-element');
const accordion = new Accordion({
expandMode: 'Single',
items: [
{ header: 'Tab 1', content: 'Content 1', expanded: true },
{ header: 'Tab 2', content: 'Content 2' },
{ header: 'Tab 3', content: 'Content 3' }
]
});
const accordion = new Accordion({
expandMode: 'Multiple', // Default
items: [
{ header: 'Section A', content: 'Content A', expanded: true },
{ header: 'Section B', content: 'Content B', expanded: true },
{ header: 'Section C', content: 'Content C' }
]
});
const accordion = new Accordion({
items: [
{
header: 'Sports',
iconCss: 'e-sports e-acrdn-icons',
content: 'Athletic activities content'
},
{
header: 'Games',
iconCss: 'e-games e-acrdn-icons',
content: 'Gaming activities content'
}
]
});
const accordion = new Accordion({
items: [...],
created: (args) => {
// Disable item at index 2 initially
accordion.enableItem(2, false);
// After some action, enable it
setTimeout(() => {
accordion.enableItem(2, true);
}, 2000);
}
});
| Property | Type | Default | Description |
|---|---|---|---|
items | AccordionItem[] | [] | Array of accordion items with header, content, and options |
dataSource | object[] | DataManager | - | External data source (items array, OData, JSON, AJAX) |
expandMode | 'Single' | 'Multiple' | 'Multiple' | Single or Multiple expand mode |
headerTemplate | string | - | Custom HTML template for item headers |
itemTemplate | string | - | Custom HTML template for entire items |
expandedIndices | number[] | [] | Indices of items to expand initially |
animation | AnimationSettings | {expand: {}, collapse: {}} | Animation with effect, duration, easing |
height | string | number | auto | Height of accordion container |
width | string | number | 100% | Width of accordion container |
enableRtl | boolean | false | Right-to-left text direction |
enablePersistence | boolean | false | Persist expanded state in localStorage |
enableHtmlSanitizer | boolean | true | Sanitize HTML for security |
// Main component
import { Accordion } from '@syncfusion/ej2-navigations';
// Optional: Enable ripple effect
import { enableRipple } from '@syncfusion/ej2-base';
enableRipple(true);
// CSS styles (choose one theme)
import '@syncfusion/ej2-base/styles/fluent2.css';
import '@syncfusion/ej2-navigations/styles/fluent2.css';
references/advanced-features.md (opens in a new tab)references/advanced-use-cases.md (opens in a new tab)references/api-reference.md (opens in a new tab)references/customization-styling.md (opens in a new tab)references/data-loading.md (opens in a new tab)references/expand-modes.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/templates.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-javascript67 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-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)./syncfusion-javascript-ai-assistviewImplement the Syncfusion JavaScript AI AssistView control (ej2-interactive-chat). Use this skill for AI assistant and AI chat UIs, prompt-response interfaces, AI integration (OpenAI, Gemini, Ollama, LiteLLM, MCP), chat toolbars, file attachments, speech-to-text, text-to-speech, custom AI views, prompt suggestions, markdown responses, chain of thoughts and thinking blocks (AssistThinking), generative UI and interactive tool cards (registerToolUI), telemetry (telemetrySettings, token usage, duration and tool call metrics), mentions (mentionChar, mention popup, filtering, templates, mentionSelect), response animation and templates, loading indicators, or any interactive AI assistant interface.Other plugins' skills for the same job