PromptInput
<ui5-ai-prompt-input>info
The @ui5/webcomponents-ai package is under development and considered experimental - components' APIs are subject to change. Furthermore, the package supports Horizon themes only.
The ui5-ai-prompt-input component allows the user to write custom instructions in natural language, so that AI is guided to generate content tailored to user needs.
Note: The web component is in an experimental state
ES6 Module Import
import "@ui5/webcomponents-ai/dist/PromptInput.js"
Basic Sample
Properties
disabled
label
maxlength
placeholder
readonly
showClearIcon
showExceededText
showSuggestions
value
valueState
Slots
default
valueStateMessage
Events
change
input
submit
Methods
No methods available for this component.
CSS Parts
No CSS parts available for this component.
CSS Custom States
No CSS custom states available for this component.