Components/Feed Input
fd-feed-input · 7 examples from SAP's documentation · Back to the gallery
About
The feed input is specifically designed for users to type their own notes or comments and post them to a corresponding feed.
**Use the feed input if:** - A user needs to input small amounts of text without formatting. - You expect multiple instances, such as notes or feed entries. **Do not use the feed input if:** - The user needs to format the text (rich text editor). - You need only a single text box instance. In this case, use the **Textarea** component (for multiple lines) or the text control (for a single line). **Use the feed input if:** - A user needs to input small amounts of text without formatting. - You expect multiple instances, such as notes or feed entries. - The user needs to format the text (rich text editor). - You need only a single text box instance. In this case, use the **Textarea** component (for multiple lines) or the text control (for a single line).
Default
The default feed input displays an empty text field with an inactive submit button.
With text
The input with text displays some text, activating the submit button.
Disabled
The disabled feed input displays a text field and submit button that users cannot interact with.
No thumbnail
Although the default feed input has a thumbnail, it is possible to remove it. Without a thumbnail, the input area size increases automatically.
Generic thumbnail
A generic thumbnail will be displayed if no image has been chosen by the user.
Multiline
The multiline feed input displays a text field with multiple lines of text, which expands until a maximum height is reached.
Max height
The max height feed input displays a text field with the maximum amount of text lines it can contain. Once the text field has reached the maximum height, a scrollbar appears to access the overflowing text.