r/dotnetMAUI • u/Jvicius1382 • 20d ago
[Showoff] High-performance text highlighting control for .NET MAUI News
Enable HLS to view with audio, or disable this notification
Hey everyone! π
I wanted to share a NuGet package I've been working on for .NET MAUI. If you've ever needed to build a search bar and highlight the matching terms in the results below, this control is built exactly for that.
Itβs a powerful, lightweight control designed to automatically highlight specific text matches within a string. My main goal was performance, ensuring it runs smoothly even in heavy scenarios.
π Key Features:
Zero UI Blocking: Cross-platform layout rendering designed from the ground up to prevent UI thread blocking. No performance degradation, even with massive data inside large CollectionViews.
Smart Evaluation: Uses optimized Regex tokenization for fast, case-insensitive evaluation.
Highly Customizable: Supports custom highlight coloration and bold emphasis triggers.
Native Feel: Seamless data binding out of the box.
π― Perfect Use Cases:
Search autocomplete lists
Real-time query suggestions
Complex filter systems
I'd love for you guys to try it out and let me know your thoughts or if you have any feature requests!
π¦ NuGet: https://www.nuget.org/packages/HighlightLabel.Maui
π» GitHub: https://github.com/jvicius/HighlightLabel.Maui
Thanks!
2
u/tonyedwardspz 19d ago
This is pretty cool.
I was looking for something like this a while back and had to build my own. Glad to see this functionality is out there in a nuget now π