Skip to content
العربية
Text

Highlight

Inverted text for search matches.

import { Highlight } from "@percentsa/ui";

Examples

Results for design

Code
export function HighlightExample() {
  const t = useT();
  return (
    <Text>
      {t("Results for ", "نتائج ")}
      <Highlight>{t("design", "تصميم")}</Highlight>
    </Text>
  );
}