Skip to content

AI welcome screen

The AI welcome screen is the first thing users see when they open an AI chat. It introduces the AI and offers starting points, so users don't face an empty input without knowing what to ask.

Usage

The AI welcome screen is shown before the first message in an AI chat. As soon as the user prompts a message, the welcome screen should disappear.

AI welcome screen screen

When to use

  • When starting a new conversation in an AI chat, before any message is sent.
  • To set expectations about what the AI can and can't do.
  • To help users get started with relevant prompt suggestions.

Best practices

  • Show only relevant prompt suggestions that reflect common actions or the current context.
  • Limit the number of suggestions, and use prompt categories when there are too many to scan.
  • Write suggestions as complete prompts users can edit them or send as they are.

Design

Elements

AI welcome screen elements

  1. AI icon
  2. Salutation: A brief, welcoming message that sets a conversational tone.
  3. Prompt categories (optional): When suggestions exceed a manageable number, group them by topic or function using summary chips
  4. Prompt suggestions (optional): Curated prompts or example questions that reflect common or relevant actions.
  5. Chat input

Code

Use si-ai-welcome-screen to introduce the assistant before the first message. It accepts prompt suggestions and can be slotted into si-chat-container. It is built into si-ai-chat.

Prompt suggestions

Prompt suggestions can be provided as either:

  • A simple array of suggestions (no categories)
  • A record mapping category labels to arrays of suggestions

When using a record, categories are automatically displayed as filter pills.

// Simple array (no categories)
promptSuggestions = [
  { text: 'How do I optimize performance?' },
  { text: 'What are best practices?' }
];

// Record with categories
promptSuggestions = {
  'All prompts': [{ text: 'How do I optimize performance?' }, { text: 'What are best practices?' }],
  'Maintenance': [{ text: 'Schedule preventive maintenance' }, { text: 'Track equipment downtime' }]
};

SiAiWelcomeScreenComponent API Documentation

import { SiAiWelcomeScreenComponent } from '@siemens/element-ng/chat-messages';

AI welcome screen component for displaying initial state in AI chat interfaces.

The AI welcome screen component provides an engaging initial state for AI chat interfaces, featuring a welcome message, optional prompt categories for filtering, and suggested prompts that users can click to start conversations.

The component includes:

• Welcome header with AI branding and customizable greeting

• Optional category pills for filtering prompt suggestions

• Clickable prompt suggestion cards

• Optional refresh button to regenerate suggestions

See: SiAiChatComponent for the AI chat container which uses this component

See: SiChatContainerComponent for the base chat container

Input Properties

Name Type Default Description
categories
PromptCategory[] []

The list of prompt categories

promptSuggestions
PromptSuggestion[] []

The list of prompt suggestions as an array, update this when the selected category changes.

selectedCategory
string | undefined undefined

The currently selected category ID

Output Properties

Name Type Description
promptSelected
PromptSuggestion

Emitted when a prompt suggestion is clicked

selectedCategoryChange
string | undefined

The currently selected category ID

Types Documentation

Represents a translatable string. This can either be a translation key, e.g. ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit. Equivalent to a normal string in usage and functionality.


Except where otherwise noted, content on this site is licensed under MIT License.