/syncfusion-blazor:syncfusion-blazor-ai-assistviewfrom Syncfusion Blazor Components
Implement the Syncfusion Blazor AI AssistView component for AI-powered chat interfaces in Blazor applications. Use this skill when implementing conversational AI, chatbots, AI assistants, or prompt-response interfaces. Covers AssistViewPrompt setup, PromptRequested events, markdown responses, prompt suggestions with avatar customization, and speech recognition/synthesis for voice-enabled chat interactions.
Ships in Syncfusion Blazor 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.
Build conversational AI interfaces with the Syncfusion Blazor AI AssistView component. This skill provides complete guidance for creating interactive chat applications, AI assistant UIs, and prompt-response systems in Blazor Server, WebAssembly, and Web App projects.
The SfAIAssistView component is a specialized UI control for building AI-powered chat applications. It manages the presentation and interaction model for prompt-response conversations with built-in support for:
📄 Read: references/getting-started.md
📄 Read: references/prompt-configuration.md
📄 Read: references/prompt-suggestions.md
📄 Read: references/customization-styling.md
📄 Read: references/advanced-features.md
📄 Read: references/ai-service-integration.md
📄 Read: references/attachments.md
📄 Read: references/multi-view-support.md
📄 Read: references/toolbars.md
ItemAlign.Left / ItemAlign.Right)📄 Read: references/templates.md
📄 Read: references/speech.md
📄 Read: references/streaming.md
📄 Read: references/generative-ui.md
ToolUIBlock tag directiveTextBlock and ToolBlock (IResponseBlock)Props dictionaryblocks JSON arrayPrompts collection📄 Read: references/chain-of-thoughts.md
ThinkingBlock and BlockType.ThinkingStages with ThinkingStage, ThinkingStageStatus, and inline ThinkingContextItem chipsThinkingStageTemplate tag📄 Read: references/methods-api.md
@using Syncfusion.Blazor.InteractiveChat
<div style="height: 400px; width: 600px;">
<SfAIAssistView
Prompt="What is Blazor?"
PromptRequested="@OnPromptRequested">
</SfAIAssistView>
</div>
@code {
private async Task OnPromptRequested(AssistViewPromptRequestedEventArgs args)
{
// Add delay to simulate AI processing
await Task.Delay(1000);
// Connect to your AI service here (OpenAI, Azure, etc.)
var response = await GetAIResponse(args.Prompt);
args.Response = response;
}
private async Task<string> GetAIResponse(string prompt)
{
// Call your AI service API
// For testing: return a simple response
return $"<div>Processing your prompt: {prompt}</div>";
}
}
Load the component with existing conversation history:
<SfAIAssistView
Prompts="@conversationHistory"
PromptRequested="@OnPromptRequested">
</SfAIAssistView>
@code {
private List<AssistViewPrompt> conversationHistory = new()
{
new AssistViewPrompt {
Prompt = "What is C#?",
Response = "<div>C# is a modern object-oriented programming language...</div>"
}
};
}
Use suggestions to help users refine their prompts:
<SfAIAssistView
PromptSuggestions="@suggestions"
PromptSuggestionsHeader="Try asking about:"
PromptRequested="@OnPromptRequested">
</SfAIAssistView>
@code {
private List<string> suggestions = new()
{
"How does dependency injection work?",
"Explain async/await patterns",
"What are Blazor components?"
};
}
Personalize user and AI identities with custom icons:
<SfAIAssistView
PromptIconCss="e-icons e-user"
ResponseIconCss="e-icons e-bullet-2"
PromptRequested="@OnPromptRequested">
</SfAIAssistView>
| Property | Type | Purpose |
|---|---|---|
Prompt | string | Initial prompt text to display |
PromptPlaceholder | string | Placeholder text in input field (default: "Type prompt for assistance...") |
PromptSuggestions | List<string> | List of suggested prompts for user guidance |
PromptSuggestionsHeader | string | Header text above suggestions |
Prompts | List<AssistViewPrompt> | Collection of prompt-response pairs (conversation history) |
PromptIconCss | string | CSS classes for user avatar icon |
ResponseIconCss | string | CSS classes for AI avatar icon (default: "e-assistview-icon") |
EnableScrollToBottom | bool | Show scroll-to-bottom indicator (default: true) |
EnableStreaming | bool | Enable streaming mode for progressive responses |
ActiveView | int | Index of currently active view (for multi-view) |
ShowHeader | bool | Show/hide component header (default: true) |
Width | string | Component width (default: "100%") |
Height | string | Component height (default: "100%") |
CssClass | string | Custom CSS classes for styling |
EnableRtl | bool | Enable right-to-left layout (default: false) |
ID | string | Sets the id attribute for the component |
references/advanced-features.md (opens in a new tab)references/ai-service-integration.md (opens in a new tab)references/attachments.md (opens in a new tab)references/chain-of-thoughts.md (opens in a new tab)references/customization-styling.md (opens in a new tab)references/generative-ui.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/methods-api.md (opens in a new tab)references/multi-view-support.md (opens in a new tab)references/prompt-configuration.md (opens in a new tab)references/prompt-suggestions.md (opens in a new tab)references/speech.md (opens in a new tab)references/streaming.md (opens in a new tab)references/templates.md (opens in a new tab)references/toolbars.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-blazor69 skills in this plugin
/syncfusion-blazor-3d-chartsProvides guidance for building and customizing Syncfusion Blazor 3D Charts. Trigger this skill whenever the user needs help with SfChart3D, 3D Column/Bar charts, axes, data binding, rotation, tilt, depth, legends, tooltips, or any configuration in Syncfusion.Blazor.Chart3D./syncfusion-blazor-accordionGuide for implementing the Syncfusion Blazor Accordion component for creating collapsible panels with expandable content. Use this skill when users need to build accordions, implement collapsible sections, create expandable panels, organize content in navigation components, implement FAQs, build collapsible menus, add nested accordions, configure expand modes (single or multiple), handle accordion events, customize accordion styling, implement accessible accordions with WCAG compliance, integrate data binding, or work with any vertically collapsible content containers in Blazor applications./syncfusion-blazor-accumulation-chartImplement Syncfusion Blazor Accumulation Chart (SfAccumulationChart) for proportional data visualization. Use this when creating pie charts, doughnut charts, funnel charts, or pyramid charts. This skill covers data labels, legends, tooltips, slice grouping, and part-to-whole visualizations in Blazor applications.Other plugins' skills for the same job