# SiAiWelcomeScreenComponent documentation

**Kind:** component

**Selector:** `si-ai-welcome-screen`

```
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](<../SiAiChatComponent/index.html#SiAiChatComponent>) for the AI chat container which uses this component

See: [SiChatContainerComponent](<../SiChatContainerComponent/index.html#SiChatContainerComponent>) for the base chat container

```
component SiAiWelcomeScreenComponent
```

#### Input Properties

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [categories](<https://github.com/siemens/element/blob/main/projects/element-ng/chat-messages/si-ai-welcome-screen.component.ts#L50-L50>) | `PromptCategory[]` | `[]` | The list of prompt categories |
| [promptSuggestions](<https://github.com/siemens/element/blob/main/projects/element-ng/chat-messages/si-ai-welcome-screen.component.ts#L62-L62>) | `PromptSuggestion[]` | `[]` | The list of prompt suggestions as an array, update this when the selected category changes. |
| [selectedCategory](<https://github.com/siemens/element/blob/main/projects/element-ng/chat-messages/si-ai-welcome-screen.component.ts#L56-L56>) | `string \| undefined` | `undefined` | The currently selected category ID |

#### Output Properties

| Name | Type | Description |
| --- | --- | --- |
| [promptSelected](<https://github.com/siemens/element/blob/main/projects/element-ng/chat-messages/si-ai-welcome-screen.component.ts#L67-L67>) | `PromptSuggestion` | Emitted when a prompt suggestion is clicked |
| [selectedCategoryChange](<https://github.com/siemens/element/blob/main/projects/element-ng/chat-messages/si-ai-welcome-screen.component.ts#L56-L56>) | `string \| undefined` | The currently selected category ID |

### Types Documentation

### [PromptCategory](<https://github.com/siemens/element/blob/main/projects/element-ng/chat-messages/si-ai-welcome-screen.component.ts#L10-L12>)

**Kind:** interface

```
import type { PromptCategory } from '@siemens/element-ng/chat-messages';
```

```
interface PromptCategory
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [label](<https://github.com/siemens/element/blob/main/projects/element-ng/chat-messages/si-ai-welcome-screen.component.ts#L11-L11>) | `TranslatableString` |  |

### [PromptSuggestion](<https://github.com/siemens/element/blob/main/projects/element-ng/chat-messages/si-ai-welcome-screen.component.ts#L14-L16>)

**Kind:** interface

```
import type { PromptSuggestion } from '@siemens/element-ng/chat-messages';
```

```
interface PromptSuggestion
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [text](<https://github.com/siemens/element/blob/main/projects/element-ng/chat-messages/si-ai-welcome-screen.component.ts#L15-L15>) | `TranslatableString` |  |

### [TranslatableString](<https://github.com/siemens/element/blob/main/projects/element-translate-ng/translate-types/global.types.ts#L18-L18>)

**Kind:** type alias

```
import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';
```

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.

```
type TranslatableString = string & Translatable
```
