Some properties provide flexibility for specific integrations. Follow the component's usage guidance. Customizations beyond the documented patterns need a use case approved by DNB UX. Read about intended use and customization.
Experimental: The AI extension and its component APIs may change in the future. Please give us feedback on your experience with them.
Properties#
| Type | Description | |
|---|---|---|
greeting | React.ReactNode | (optional) Greeting shown above the heading, e.g. Hi Matthias. Empty or false greetings are omitted. |
avatar | React.ReactNode | (optional) Decorative avatar beside the greeting. It is hidden from screen readers and omitted when there is no greeting. Set hasLabel when using Avatar outside Avatar.Group. |
title | React.ReactNode | (required) The heading, e.g. Where do you want to start today?. |
level | number | (optional) The heading level. |
children | React.ReactNode | (optional) Content shown below the heading, e.g. Ai.Suggestions. |
Space | string object | (optional) Spacing properties like top or bottom are supported. |