Scrolling Placeholder in Search Bar
Note
This feature is available starting in Rapid UI v6.3.0 and later. Please make sure you are on this version or above to use the scrolling behavior.
Overview
The Scrolling Placeholder feature enhances the search bar by rotating through a set of example search queries, each displayed with a smooth typing-out animation. This interactive behavior encourages user exploration, guides input, and boosts overall engagement. Previously limited to a single static placeholder, the search bar now supports an array of rotating examples, offering users more inspiration and helping them discover how to interact with search more effectively.

Where It's Available
This feature is supported in the configuration of the following search components:
Behavior
- Examples scroll sequentially in the search field.
- Each phrase is displayed with a typing-out animation.
- The cycle loops continuously through all examples.
- Animation speed and style are fixed and not configurable.
Best Practices
- Use realistic and relevant search suggestions.
- Keep phrases concise and easy to read.
- Aim for 3–5 entries to ensure optimal pacing.
- Avoid lengthy or unclear examples.
Configuration
To enable the Scrolling Placeholder, pass an array of strings to the placeholder field inside the strings object.
Note
- The placeholder field supports either a string (for static text) or an array of strings (for scrolling behavior).
- There is no hardcoded limit to the number of entries. However, using too many examples is not recommended, as it may reduce clarity, overwhelm users, or dilute the effectiveness of the suggestions. For best results, use 3–5 concise entries.
- The feature activates automatically when an array is detected.
Example: Static Placeholder
strings: {
placeholder: "Search for items, brands, or categories"
}
Example: Scrolling Placeholder
strings: {
placeholder: [
"Search for tools",
"Find outdoor furniture",
"Browse popular accessories"
]
}
Updated 2 days ago