MCPInstall

syncfusion-blazor-ai-assistview

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.

Installs
366
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/syncfusion/blazor-ui-components-skills --skill syncfusion-blazor-ai-assistview
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads syncfusion-blazor-ai-assistview automatically when relevant.

  3. 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.

Syncfusion Blazor AI AssistView

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.

Component Overview

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:

  • Prompt Management: Input text, suggestions, placeholder text
  • Response Handling: Async processing, markdown rendering, streaming support
  • Customization: Avatar icons, styling, theme integration
  • UX Features: Scroll-to-bottom indicator, conversation history
  • Event Integration: PromptRequested events for AI service callbacks

Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation and NuGet package setup
  • Basic component structure and initialization
  • PromptRequested event handler implementation
  • Minimal working example with async responses

Prompt Configuration

📄 Read: references/prompt-configuration.md

  • Setting initial prompt text
  • Configuring prompt placeholder text
  • Managing prompt-response collections
  • Handling prompt events asynchronously

Prompt Suggestions

📄 Read: references/prompt-suggestions.md

  • Adding suggestion lists for user guidance
  • Customizing suggestion headers
  • Building suggestion-response mappings
  • User interaction patterns with suggestions

Customization & Icons

📄 Read: references/customization-styling.md

  • Customizing user avatar with PromptIconCss
  • Customizing AI avatar with ResponseIconCss
  • Applying theme-specific icons
  • CSS class and icon integration

Advanced Features

📄 Read: references/advanced-features.md

  • Markdown rendering in AI responses
  • Scroll-to-bottom navigation (EnableScrollToBottom)
  • Managing conversation history with Prompts collection
  • Common patterns and use cases

AI Service Integration

📄 Read: references/ai-service-integration.md

  • OpenAI API integration (non-streaming and streaming)
  • Azure OpenAI deployment
  • Local Ollama LLM hosting
  • Custom backend patterns
  • Error handling and rate limiting strategies

Attachments

📄 Read: references/attachments.md

  • Enabling file attachments
  • Configuring attachment settings (file types, size limits)
  • Handling attachment events (upload, click, remove)
  • AttachmentRemoving event (fires before a file is removed; cancellable)
  • Server-side upload implementation
  • Security and validation best practices

Multi-View Support

📄 Read: references/multi-view-support.md

  • Creating multiple specialized AI views
  • Active view management and switching
  • View-specific configuration
  • Separate conversation histories per view
  • Role-based and workspace-based views

Toolbars

📄 Read: references/toolbars.md

  • Prompt toolbar customization
  • Response toolbar actions (copy, like, regenerate)
  • Regenerate responses with navigation and pre-loading
  • Footer toolbar configuration
  • Footer toolbar item alignment (ItemAlign.Left / ItemAlign.Right)
  • Custom toolbar items and templates
  • Handling toolbar events

Templates

📄 Read: references/templates.md

  • BannerTemplate for initial/empty state
  • PromptItemTemplate for custom prompt rendering
  • ResponseItemTemplate for custom response rendering
  • ResponseAnimationTemplate for custom loading indicator while a response is being generated
  • PromptSuggestionItemTemplate for custom suggestions
  • FooterTemplate and ViewTemplate customization
  • Template contexts and available properties

Speech Recognition and Synthesis

📄 Read: references/speech.md

  • TextToSpeechSettings for Text-to-Speech (TTS) configuration and speaker settings
  • Speech-to-Text (STT) voice input integration
  • Microphone access and audio input handling
  • Speech synthesis customization (pitch, rate, volume, language)
  • Error handling and browser compatibility

Streaming Responses

📄 Read: references/streaming.md

  • Enabling streaming mode
  • UpdateResponseAsync for progressive updates
  • Real-time response rendering
  • Integration with OpenAI, Azure, and Ollama streaming APIs
  • Stop responding functionality
  • Performance optimization

Generative UI

📄 Read: references/generative-ui.md

  • Registering custom tools with the ToolUIBlock tag directive
  • Building structured responses with TextBlock and ToolBlock (IResponseBlock)
  • Passing parameters to tools via the Props dictionary
  • Combining text and tool blocks in a single response
  • Configuring an AI service to return a blocks JSON array
  • Pre-loading generative UI conversations via the Prompts collection

Chain of Thoughts

📄 Read: references/chain-of-thoughts.md

  • Rendering reasoning blocks with ThinkingBlock and BlockType.Thinking
  • Adding structured Stages with ThinkingStage, ThinkingStageStatus, and inline ThinkingContextItem chips
  • Multi-step streaming pattern (append new thinking blocks as the model reasons)
  • Customizing stage rendering with the ThinkingStageTemplate tag
  • Combining thinking blocks with text/tool blocks in a single response

Methods & Programmatic API

📄 Read: references/methods-api.md

  • ExecutePromptAsync for automated prompts
  • UpdateResponseAsync for streaming updates
  • RefreshUIAsync for manual UI refresh
  • ScrollToBottomAsync for scroll control
  • Automated workflows and batch processing

Quick Start

@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>";
    }
}

Common Patterns

Pattern 1: Pre-Initialized Conversation

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>" 
        }
    };
}

Pattern 2: Guided Suggestions

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?"
    };
}

Pattern 3: Custom Avatars

Personalize user and AI identities with custom icons:

<SfAIAssistView 
    PromptIconCss="e-icons e-user"
    ResponseIconCss="e-icons e-bullet-2"
    PromptRequested="@OnPromptRequested">
</SfAIAssistView>

Key Props

PropertyTypePurpose
PromptstringInitial prompt text to display
PromptPlaceholderstringPlaceholder text in input field (default: "Type prompt for assistance...")
PromptSuggestionsList<string>List of suggested prompts for user guidance
PromptSuggestionsHeaderstringHeader text above suggestions
PromptsList<AssistViewPrompt>Collection of prompt-response pairs (conversation history)
PromptIconCssstringCSS classes for user avatar icon
ResponseIconCssstringCSS classes for AI avatar icon (default: "e-assistview-icon")
EnableScrollToBottomboolShow scroll-to-bottom indicator (default: true)
EnableStreamingboolEnable streaming mode for progressive responses
ActiveViewintIndex of currently active view (for multi-view)
ShowHeaderboolShow/hide component header (default: true)
WidthstringComponent width (default: "100%")
HeightstringComponent height (default: "100%")
CssClassstringCustom CSS classes for styling
EnableRtlboolEnable right-to-left layout (default: false)
IDstringSets the id attribute for the component

Common Use Cases

  1. Customer Support Chatbot - Combine with knowledge base to answer FAQs
  2. Coding Assistant - Real-time code suggestions and explanations
  3. Content Generator - Interactive writing and editing assistant
  4. Learning Interface - Q&A system for educational content
  5. API Documentation - Interactive API helper with examples

FAQ

What does the syncfusion-blazor-ai-assistview skill do?

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.

How do I install syncfusion-blazor-ai-assistview?

Run npx skills add https://github.com/syncfusion/blazor-ui-components-skills --skill syncfusion-blazor-ai-assistview 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-blazor-ai-assistview/ (personal) or .claude/skills/syncfusion-blazor-ai-assistview/ (project).

Which AI agents can use syncfusion-blazor-ai-assistview?

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-blazor-ai-assistview 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-blazor-ai-assistview?

It is published by syncfusion in syncfusion/blazor-ui-components-skills. It has 366 recorded installs.

More from syncfusion/blazor-ui-components-skills

View all →

syncfusion-blazor-datagrid

syncfusion/blazor-ui-components-skills

Implements the Syncfusion Blazor DataGrid (SfGrid) for efficient tabular operations such as sorting, filtering, paging, grouping, editing, aggregates, virtualization, lazy‑load grouping, and row or column spanning. Use this skill when building data‑grid workflows in Blazor Server, WebAssembly, Web App, or MAUI applications. Supports Excel/PDF export, virtual or infinite scrolling, customizable templates, and grid state persistence for consistent and optimized data‑grid behavior.

Frontend & Design442 installs

syncfusion-blazor-common

syncfusion/blazor-ui-components-skills

Open the skill to read its SKILL.md instructions.

Frontend & Design409 installs

syncfusion-blazor-dropdowns

syncfusion/blazor-ui-components-skills

Comprehensive guide for implementing Syncfusion Blazor dropdown components including AutoComplete, ComboBox, DropDown List, MultiSelect Dropdown, and ListBox. Use this when building selection interfaces, data binding, filtering, cascading dropdowns, custom templates, and accessible dropdown experiences in Blazor applications. Covers all dropdown components from Syncfusion.Blazor.DropDowns package.

Frontend & Design400 installs

syncfusion-blazor-charts

syncfusion/blazor-ui-components-skills

Implement Syncfusion Blazor Chart (SfChart) component for comprehensive data visualization. Use this when creating line charts, bar/column charts, area charts, financial charts, or statistical visualizations. This skill covers 30+ chart types including scatter plots, bubble charts, candlestick charts, and specialized charts like waterfall, histogram, and polar charts for Blazor applications.

Frontend & Design394 installs

syncfusion-blazor-popups

syncfusion/blazor-ui-components-skills

Implement modal and modeless dialogs using Syncfusion Blazor Dialog component. Use this skill when creating dialogs, popup windows, modal confirmations, custom forms, or interactive overlay windows. Covers templates, events, positioning, animations, accessibility, and advanced customization.

Frontend & Design394 installs

syncfusion-blazor-license

syncfusion/blazor-ui-components-skills

Generate, register, secure, validate, and troubleshoot Syncfusion Blazor license keys across all Blazor project types

Frontend & Design386 installs

Popular media & creative skills

View category →

hyperframes

heygen-com/hyperframes

Read first to make, edit, animate or render any video with HyperFrames (HTML rendered to video), including launch films, explainers, music videos, charts, maps, vertical clips, title cards, captions and overlays. Holds the render contract, the work loop and what each kind of video needs.

Media & Creative1.2M installs

media-use

heygen-com/hyperframes

Get or make any media for a HyperFrames video - music, sound effects, images, icons, logos, voiceover, avatar and generated video, transcripts, cutouts, colour grades and looks - with HeyGen or free local tools, and mix placed audio. Also for footage that looks dark, flat or dull, or should be stylized or hidden.

Media & Creative1.1M installs

hyperframes-registry

heygen-com/hyperframes

About 450 ready-made HyperFrames blocks and components installed as editable source - transitions, overlays, titles, kinetic type, captions, charts, map overlays, 3D, camera moves. Use it before hand-building any named visual (CRT scanlines, glitch, film grain, a chart); also for hyperframes add and catalog.

Media & Creative1M installs

hyperframes-creative

heygen-com/hyperframes

Non-animation creative direction for HyperFrames videos. Use for design spec (frame.md / design.md) handling, palettes, typography, narration, beat planning, audio-reactive visuals, composition patterns, and brand / style decisions. For atomic motion patterns and scene blueprints, use hyperframes-animation.

Media & Creative916.5K installs

ai-video-generation

101-skills/superpowers

Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0, HappyHorse 1.0, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Capabilities: text-to-video, image-to-video, reference-to-video, video editing, lipsync, avatar animation, video upscaling, foley sound. Use for: social media videos, marketing content, explainer videos, product demos, AI avatars. Triggers: video generation, ai video, text to video, image to video, veo, animate image, video from image, ai animation, video generator, generate video, t2v, i2v, ai video maker, create video with ai, runway alternative, pika alternative, sora alternative, kling alternative, seedance, happyhorse

Media & Creative881.5K installs

ai-image-generation

101-skills/superpowers

Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FLUX.2 Klein LoRA, Gemini 3 Pro Image, Grok Imagine, Seedream 4.5, Reve, ImagineArt. Capabilities: text-to-image, image-to-image, inpainting, LoRA, image editing, upscaling, text rendering. Use for: AI art, product mockups, concept art, social media graphics, marketing visuals, illustrations. Triggers: flux, image generation, ai image, text to image, stable diffusion, generate image, ai art, midjourney alternative, dall-e alternative, text2img, t2i, image generator, ai picture, create image with ai, generative ai, ai illustration, grok image, gemini image, gpt image, openai image, chatgpt image

Media & Creative880.3K installs