syncfusion-react-accordion — Claude Code skill: setup and guide
This skill guides coding assistants in configuring Syncfusion collapsible panels for React. It assists with expand behavior, animations, and styling.
npx skills add syncfusion/react-ui-components-skills --skill syncfusion-react-accordion -a claude-codeWhat syncfusion-react-accordion does
The skill teaches your coding assistant how to set up AccordionComponent using the @syncfusion/ej2-react-navigations library. Agents learn to write markup using AccordionItemDirective tags or initialize items via configuration properties. Both single and multiple expand behaviors are supported.
It provides implementation rules for handling transitions like SlideDown or ZoomIn, including duration adjustments. The guide also details fetching dynamic content through addItem(), binding data sources, and intercepting lifecycle events via event.cancel.
Without importing core style sheets from @syncfusion/ej2-base and @syncfusion/ej2-react-navigations, the component renders unstyled and breaks the layout visually. Teams must include compatible CSS themes such as Tailwind or Bootstrap before deploying the UI.
What it helps with
- build an FAQ section that toggles a single panel at a time
- create multi-step forms inside collapsible React containers
- fetch external data into panels dynamically with addItem
- customize expand and collapse animation effects
Example prompts for the agent
- Build an FAQ block using Syncfusion React Accordion with single expand mode enabled.
- Add dynamic item loading to AccordionComponent using the addItem method.
- Configure a multi-panel accordion with Tailwind3 styles and have the first section open.
How to install syncfusion-react-accordion
1Skills CLI (Vercel)
npx skills add syncfusion/react-ui-components-skills --skill syncfusion-react-accordion -a claude-code2Manually: put the files in place
~/.claude/skills/syncfusion-react-accordion/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/syncfusion-react-accordion/
1Skills CLI (Vercel)
npx skills add syncfusion/react-ui-components-skills --skill syncfusion-react-accordion -a codex2Manually: put the files in place
.agents/skills/syncfusion-react-accordion/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add syncfusion/react-ui-components-skills --skill syncfusion-react-accordion -a cursor2Manually: put the files in place
.cursor/skills/syncfusion-react-accordion/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install syncfusion/react-ui-components-skills syncfusion-react-accordion2Manually: put the files in place
.github/skills/syncfusion-react-accordion/SKILL.md1Skills CLI (Vercel)
npx skills add syncfusion/react-ui-components-skills --skill syncfusion-react-accordion -a gemini-cli2Platform CLI
gemini skills install https://github.com/syncfusion/react-ui-components-skills --path skills/syncfusion-react-accordionManually: put the files in place
.devin/skills/syncfusion-react-accordion/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add syncfusion/react-ui-components-skills --skill syncfusion-react-accordion -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about syncfusion-react-accordion
How to install syncfusion-react-accordion in Claude Code?
Run npx skills add syncfusion/react-ui-components-skills --skill syncfusion-react-accordion -a claude-code. The file will be placed in ~/.claude/skills/syncfusion-react-accordion/SKILL.md.
What does syncfusion-react-accordion do?
It provides reference guides for creating collapsible panels, configuring expand modes, handling events, and applying themes in React apps.
Which style sheets are needed for the component to render?
Your project needs CSS files from @syncfusion/ej2-base, @syncfusion/ej2-buttons, @syncfusion/ej2-popups, and @syncfusion/ej2-react-navigations. You can use Tailwind or Bootstrap presets.