Note that this componenet is no longer maintained.
Use UniversalDashboard.UDNavbarSearch made by PSDevUK instead (see relevant article about it).
Search bar custom component for universal dashboard
Call using New-DudSearch.
You can set the initial text (-text), although it won't apply the filtering. Default placeholder is 'Seach...' but you can configure it through parameter of same name.
It support 2 bindings. OnChange and OnEnter.
OnChange will be triggered each time a character is typed while OnEnter will only trigger once enter key is pressed.
See the demo files in order to see how to integrate it into your project.
This component was tested against Universal Dashboard 2.5.3
To see it in action: https://forums.universaldashboard.io/t/simple-searchbar-for-ud/1149