Components

BaseTextMatch

A text with the parts that match a search term highlighted.

components/ui/BaseTextMatch.vue
View in the demo

Example

Search
Invite your team, assign roles and track every invoice from one dashboard.

API

Props

Name
Type
Default
Description
text
required
string—The full text.
termstring""The search term. Matching ignores case and accents.
colorstring"primary"The highlight colour.

It uses splitMatch() from utils/text.ts, unit tested. The help center and this documentation’s search use it.

© 2026 melsami UI.
Developer documentation for melsami UI.