Highlights matching substrings in text for search results. Supports string or regex queries, case-sensitive and whole-word matching, custom highlight tag, and a max-highlight cap.
npx shadcn@latest add https://uipkge.dev/r/react/highlight.jsonhighlight