
syncfusion-aspnetcore-accordion
Implement Syncfusion Accordion component for organizing expandable navigation and content sections with single or multiple pane expansion support.
- Installs
- 98
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/syncfusion/aspnetcore-ui-components-skills --skill syncfusion-aspnetcore-accordion- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads syncfusion-aspnetcore-accordion automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Implementing Syncfusion Accordion
When to Use This Skill
use this skill when users need to:
- Organize content into collapsible sections
- Build FAQ or help sections with expandable items
- Create tabbed-like navigation with accordion panes
- Implement progressive disclosure of content
- Build hierarchical nested accordion structures
- Configure single or multiple expand modes
- Load accordion content dynamically from data sources
- Customize accordion animations and interactions
- Integrate accordion with ASP.NET Core applications
The Accordion component is the ideal choice whenever you need vertically stacked, collapsible content panels that display one or more panels at a time.
Component Overview
The Syncfusion Accordion is a vertically collapsible content panel control that:
- Supports Single and Multiple expand modes
- Handles static items and data-bound content
- Enables nested accordion structures for hierarchical content
- Provides animation configuration for expand/collapse actions
- Fires lifecycle events (created, expanding, expanded, collapsing, collapsed, clicked)
- Supports content loading from partial views or via POST requests
- Allows programmatic control through public methods like
expandItem() - Maintains state persistence across page reloads
- Provides RTL support and HTML sanitization
Documentation and Navigation Guide
Getting Started
📄 Read: references/getting-started.md
- System prerequisites and NuGet package installation
- TagHelper registration for ASP.NET Core
- Stylesheet and script resource configuration
- Creating your first Accordion control
- Understanding AccordionItem structure and markup patterns
Expand Modes & Behavior
📄 Read: references/expand-modes.md
- Single expand mode: mutually exclusive item expansion
- Multiple expand mode: independent item expansion (default)
- Toggle behavior and user interactions
- Keeping a single pane open always
- Expand mode configuration examples
Data Binding & Dynamic Content
📄 Read: references/data-binding.md
- Static item binding with AccordionItem elements
- DataSource property and dynamic data binding
- OData service integration with DataManager
- Mapping header and content properties from data
- Handling complex data structures
Advanced Content Loading
📄 Read: references/content-loading.md
- Loading content from partial views
- Lazy loading strategies for performance
- Dynamic content rendering and updates
- POST-based content requests
- Content refresh and state management
Customization & Animation
📄 Read: references/customization-animation.md
- Configuring expand/collapse animations
- Animation settings: effect, duration, easing
- Event handling: expanding, expanded, collapsing, collapsed
- Programmatic expand/collapse with
expandItem()method - Advanced interaction patterns and sequential operations
Nested Accordion Structures
📄 Read: references/nested-accordion.md
- Creating multi-level accordion hierarchies
- Referencing nested accordion elements
- Content element ID references
- Performance considerations at scale
Complete API Reference
📄 Read: api-reference.md
- All properties, methods, and events available
- AccordionItem configuration options
- Animation settings and event arguments
- Non-duplicative reference to skill files for detailed guidance
Quick Start Example
<!-- Add Accordion in your Razor page -->
<div class="control_wrapper accordion-control-section">
<ejs-accordion id="myAccordion" expand-mode="Multiple">
<e-accordion-accordionitems>
<e-accordion-accordionitem expanded="true"
header="Getting Started"
content="Learn the basics of Accordion component integration">
</e-accordion-accordionitem>
<e-accordion-accordionitem
header="Features"
content="Explore expand modes, data binding, and customization options">
</e-accordion-accordionitem>
<e-accordion-accordionitem
header="Advanced Topics"
content="Discover nested accordions, animations, and event handling">
</e-accordion-accordionitem>
</e-accordion-accordionitems>
</ejs-accordion>
</div>
This creates a basic accordion with three items, the first one expanded by default.
Common Patterns
FAQ Section with Single Expand Mode
Use Single expand mode when only one FAQ answer should be visible at a time:
<ejs-accordion expand-mode="Single">
Documentation with Multiple Panels Open
Use Multiple expand mode (default) to allow readers to compare multiple sections simultaneously.
Dynamic Content Loading
Bind accordion items to a DataSource for dynamic content:
<ejs-accordion data-source="Model.AccordionItems">
Keeping One Panel Always Open
In Single mode, configure the expanding event to prevent the last open item from being collapsed.
Key Properties
| Property | Type | Default | Purpose |
|---|---|---|---|
expandMode | Single | Multiple | Multiple | Controls whether one or multiple items can be expanded simultaneously |
items | AccordionItemModel[] | [] | Array of accordion items to display |
dataSource | Object[] | [] | Binds dynamic data to accordion items |
expandedIndices | number[] | [] | Specifies which items are expanded on initial load |
height | string | number | auto | Sets accordion container height |
width | string | number | 100% | Sets accordion container width |
animation | AccordionAnimationSettingsModel | Configured | Customizes expand/collapse animations |
enablePersistence | boolean | false | Persists expanded state across page reloads |
enableHtmlSanitizer | boolean | true | Sanitizes untrusted HTML content |
When to Use Each Expand Mode
Single Mode: Use when content is mutually exclusive or only one section should be visible at once (e.g., step-by-step wizards, radio button-like behavior).
Multiple Mode: Use when users need to view multiple sections simultaneously (e.g., FAQ sections, documentation, feature lists).
Next Steps: Select a reference file based on your needs, or start with Getting Started for a complete setup walkthrough.
FAQ
What does the syncfusion-aspnetcore-accordion skill do?
Implement Syncfusion Accordion component for organizing expandable navigation and content sections with single or multiple pane expansion support.
How do I install syncfusion-aspnetcore-accordion?
Run npx skills add https://github.com/syncfusion/aspnetcore-ui-components-skills --skill syncfusion-aspnetcore-accordion in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/syncfusion-aspnetcore-accordion/ (personal) or .claude/skills/syncfusion-aspnetcore-accordion/ (project).
Which AI agents can use syncfusion-aspnetcore-accordion?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is syncfusion-aspnetcore-accordion safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains syncfusion-aspnetcore-accordion?
It is published by syncfusion in syncfusion/aspnetcore-ui-components-skills. It has 98 recorded installs.
More from syncfusion/aspnetcore-ui-components-skills
syncfusion-aspnetcore-charts
syncfusion/aspnetcore-ui-components-skills
Implements Syncfusion ASP.NET Core Chart (SfChart) for data visualization. Use this when building charts, visualizing time-series or categorical data, or creating dashboards. Covers series configuration (line, bar, pie), axes, tooltips, legends, and customization for ASP.NET Core applications.
syncfusion-aspnetcore-common
syncfusion/aspnetcore-ui-components-skills
CONFIGURATION GUIDE — Assist with Syncfusion ASP.NET Core EJ2 components setup, localization, and version compatibility. Use when: installing Syncfusion packages, configuring globalization/localization, selecting compatible versions.
syncfusion-aspnetcore-license
syncfusion/aspnetcore-ui-components-skills
LICENSE REGISTRATION GUIDE — Assist with Syncfusion ASP.NET Core EJ2 license key generation, registration, troubleshooting, and error resolution. Use when: registering license keys, handling licensing errors, upgrading from trial to paid, generating version-specific keys, or handling platform-specific licensing.
syncfusion-aspnetcore-grid
syncfusion/aspnetcore-ui-components-skills
Implements Syncfusion ASP.NET Core Grid component for feature-rich data tables and grids. Use this when working with data display, sorting, filtering, grouping, aggregates, editing, or exporting. This skill covers grid configuration, CRUD operations, virtual scrolling or infinite scrolling, hierarchy grids, state persistence, and advanced data management features for data-intensive applications.
syncfusion-aspnetcore-security
syncfusion/aspnetcore-ui-components-skills
CONTENT SECURITY POLICY (CSP) GUIDE — Assist with configuring Syncfusion ASP.NET Core EJ2 components to work with strict Content Security Policy (CSP) headers. Use when: implementing CSP headers, generating and applying nonces to inline scripts/styles, configuring external font allowlists, or troubleshooting CSP violations.
syncfusion-aspnetcore-gantt-chart
syncfusion/aspnetcore-ui-components-skills
Implement Syncfusion ASP.NET Core Gantt Chart component (EJ2) for project management and task scheduling. Use this when working with Gantt charts, project timelines, task dependencies, or resource allocation in ASP.NET Core applications (Tag Helper/Razor Pages/MVC). This skill covers data binding, task management, editing, filtering, export, and timeline customization.
Popular frontend & design skills
setup-matt-pocock-skills
mattpocock/skills
Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.
frontend-design
anthropics/skills
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.
hyperframes-animation
heygen-com/hyperframes
All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.
prototype
mattpocock/skills
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
hyperframes-core
heygen-com/hyperframes
The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.
vercel-react-best-practices
vercel-labs/agent-skills
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.