/syncfusion-react:syncfusion-react-inline-ai-assistfrom Syncfusion React UI Components
Implement the Syncfusion React Inline AI Assist component. Use this skill to add inline AI suggestions, integrate AI services such as OpenAI, Gemini, Lite-LLM, or Ollama, configure command and response actions, customize toolbars, enable built-in Speech-to-Text, handle events, and support real-time prompt-response workflows in React.
Ships in Syncfusion React UI Components. 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 Inline AI Assist component provides intelligent text processing capabilities for your React applications. It enables AI-powered suggestions, content generation, and interactive prompt-response workflows with support for multiple AI service integrations.
enableStreaming for progressive response updates during content generationspeechToTextSettings with language, interim results, custom labels/icons, tooltips, and lifecycle eventscreated, promptRequest, open, and close for precise controladdResponse(), executePrompt(), showPopup(), and more📄 Read: references/getting-started.md
cssClass property📄 Read: references/template-customization.md
editorTemplate property: Customize prompt input arearesponseTemplate property: Customize response displayeditorTemplate)- Code syntax highlighting📄 Read: references/speech-to-text.md
speechToTextSettings.enablelang property (en-US, es-ES, fr-FR, etc.)buttonSettings (content, stopContent, iconCss, stopIconCss)allowInterimResults: truetooltipSettings (content, stopContent)onStart, onStop, transcriptChanged, and onErrorSpeechToTextSettingsModel and the Web Speech API for cross-browser voice input📄 Read: references/internationalization.md
locale property: Set language and regional formattingenableRtl property: Enable right-to-left text direction📄 Read: references/positioning-and-targeting.md
relateTo property: Position relative to DOM elementstarget property: Specify where to append the componentresponseMode property: Inline vs Popup display modes📄 Read: references/command-settings.md
groupBy propertyitemSelect events📄 Read: references/response-settings.md
groupByitemSelect events📄 Read: references/inline-toolbar.md
tabIndexitemClick event handling with complete event args📄 Read: references/events.md
created event: Component render completepromptRequest event: Prompt submitted by useropen event: Popup openedclose event: Popup closed📄 Read: references/methods.md
addResponse(response): Add AI response to componentexecutePrompt(prompt): Execute prompt dynamicallyshowPopup(coordinates): Open the popuphidePopup(): Close the popupshowCommandPopup(): Show command actionshideCommandPopup(): Hide command actions📄 Read: references/ai-integrations.md
enableStreaming property: Real-time response streamingimport { InlineAIAssistComponent } from '@syncfusion/ej2-react-interactive-chat';
import React from 'react';
function App() {
const assistRef = React.useRef(null);
const handlePromptRequest = () => {
// Simulate AI response
setTimeout(() => {
const response = 'Your AI-generated response here';
assistRef.current?.addResponse(response);
}, 1000);
};
const handleShowPopup = () => {
assistRef.current?.showPopup();
};
return (
<div>
<button onClick={handleShowPopup} className="e-btn e-primary">
Ask AI
</button>
<InlineAIAssistComponent
id="inlineAssist"
ref={assistRef}
relateTo="button"
promptRequest={handlePromptRequest}
popupWidth="500px"
/>
</div>
);
}
export default App;
Combine the component with a contentEditable div to enable AI-powered suggestions while editing:
const handleResponseItemSelect = (args) => {
if (args.command.label === 'Accept') {
const lastResponse = assistRef.current.prompts?.[assistRef.current.prompts.length - 1]?.response;
if (lastResponse && editableRef.current) {
editableRef.current.innerHTML = lastResponse;
}
}
};
<InlineAIAssistComponent
responseSettings={{
itemSelect: handleResponseItemSelect
}}
/>
Set up predefined commands for common AI tasks:
const commandSettings = {
commands: [
{ id: 'summarize', label: 'Summarize', iconCss: 'e-icons e-compress', prompt: 'Summarize this text' },
{ id: 'expand', label: 'Expand', iconCss: 'e-icons e-expand', prompt: 'Expand this text' },
{ id: 'fix', label: 'Fix Grammar', iconCss: 'e-icons e-check-box', prompt: 'Fix grammar and spelling' }
]
};
<InlineAIAssistComponent commandSettings={commandSettings} />
Add custom toolbar items to trigger component methods:
const handleToolbarItemClick = (args) => {
if (args.item.id === 'customAction') {
assistRef.current?.executePrompt('User-defined prompt');
}
};
const inlineToolbarSettings = {
items: [
{ id: 'customAction', text: 'Custom', iconCss: 'e-icons e-settings' }
],
itemClick: handleToolbarItemClick
};
Switch between inline editing and popup responses:
// Inline mode: Response appears inline
<InlineAIAssistComponent responseMode="Inline" />
// Popup mode: Response in floating popup
<InlineAIAssistComponent responseMode="Popup" popupWidth="400px" />
Use events to coordinate component state:
const handleCreated = () => {
console.log('Component initialized');
};
const handlePromptRequest = (args) => {
console.log('Prompt submitted:', args.prompt);
};
<InlineAIAssistComponent
created={handleCreated}
promptRequest={handlePromptRequest}
open={() => console.log('Popup opened')}
close={() => console.log('Popup closed')}
/>
Enable the built-in Web Speech API microphone button to let users dictate prompts:
const speechToTextSettings = {
enable: true,
lang: 'en-US',
allowInterimResults: true,
buttonSettings: {
content: 'Start Recording',
stopContent: 'Stop Recording',
iconCss: 'e-icons e-microphone',
stopIconCss: 'e-icons e-microphone-off'
},
tooltipSettings: {
content: 'Click to start recording',
stopContent: 'Click to stop recording'
}
};
<InlineAIAssistComponent speechToTextSettings={speechToTextSettings} />
onStart fires when recognition begins, onStop when it endstranscriptChanged streams interim + final transcripts to a status panelonError surfaces browser/network/mic errors to the userpromptRequest event, so existing AI service handlers keep working unchanged| Property | Type | Default | Purpose |
|---|---|---|---|
editorTemplate | string | function | JSX.Element | '' | Custom prompt input template |
responseTemplate | string | function | JSX.Element | '' | Custom response display template |
enableStreaming | boolean | false | Enable real-time response streaming |
locale | string | 'en-US' | Language and regional formatting |
enableRtl | boolean | false | Enable right-to-left text direction |
enablePersistence | boolean | false | Persist component state across reloads |
cssClass | string | '' | Custom CSS classes for styling |
relateTo | string | HTMLElement | - | Position component relative to element |
target | string | HTMLElement | 'body' | Specify append target |
responseMode | string | 'Popup' | 'Inline' or 'Popup' |
popupWidth | string | number | '400px' | Popup width (CSS value) |
popupHeight | string | number | 'auto' | Popup height |
zIndex | number | 1000 | Popup z-index |
placeholder | string | 'Ask or generate AI content..' | Prompt textarea placeholder |
prompt | string | '' | Default prompt text |
prompts | array | [] | Prompt-response collection |
commandSettings | CommandSettingsModel | null | Command configuration |
responseSettings | ResponseSettingsModel | null | Response action configuration |
inlineToolbarSettings | InlineToolbarSettingsModel | null | Toolbar customization |
speechToTextSettings | SpeechToTextSettingsModel | null | Built-in Web Speech API microphone button (enable, lang, allowInterimResults, buttonSettings, tooltipSettings, onStart, onStop, transcriptChanged, onError) |
For complete examples and advanced scenarios, explore individual reference files above.
references/ai-integrations.md (opens in a new tab)references/command-settings.md (opens in a new tab)references/events.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/inline-toolbar.md (opens in a new tab)references/internationalization.md (opens in a new tab)references/methods.md (opens in a new tab)references/positioning-and-targeting.md (opens in a new tab)references/response-settings.md (opens in a new tab)references/speech-to-text.md (opens in a new tab)references/template-customization.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-react65 skills in this plugin
/syncfusion-react-3d-chartImplement Syncfusion React 3D Chart component from the @syncfusion/ej2-react-charts package. Use this skill when users need 3D column, bar, stacked column, stacked bar, or 100% stacked chart variations. Covers Chart3DComponent, axis configuration (category, numeric, datetime, logarithmic), data binding, multiple panes, data labels, legends, tooltips, selection, print/export, theming, and accessibility./syncfusion-react-3d-circular-chartImplements the Syncfusion React 3D Circular Chart component for pie and donut chart visualization. Use this when users need 3D circular charts, data labels, legends, tooltips, or empty point handling. Guides through installation, configuration, customization, and troubleshooting of 3D Circular Charts in React applications./syncfusion-react-accordionGuide users to implement Syncfusion React Accordion component for collapsible content panels. Use this skill whenever the user needs to create expandable/collapsible sections, accordion layouts, tabbed content panels, multi-step forms, FAQs, or navigation with expandable items. Covers component setup, expand modes, animations, dynamic content loading, styling, events, lifecycle, React hooks integration, and complete API reference.
Other plugins' skills for the same job