Skip to content

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#

TypeDescription
greetingReact.ReactNode(optional) Greeting shown above the heading, e.g. Hi Matthias. Empty or false greetings are omitted.
avatarReact.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.
titleReact.ReactNode(required) The heading, e.g. Where do you want to start today?.
levelnumber(optional) The heading level.
childrenReact.ReactNode(optional) Content shown below the heading, e.g. Ai.Suggestions.
Spacestring
object
(optional) Spacing properties like top or bottom are supported.
Suggest an edit