Highlight

Highlight Component

stable
Playground
The quick brown fox jumps over the lazy dog
Props
PropTypeDefaultValue
texttext
querytext
highlightColorcolor
caseSensitiveboolean
DefaultThe quick brown fox jumps over the lazy dog
CaseSensitive
React is popular. react is great.React is popular. react is great.
MultipleMatchesThe design system provides design tokens, design components, and design patterns.
NoMatchReact and Vue are popular frameworks.
PROPTYPEDEFAULTDESCRIPTION
caseSensitivebooleanCase-sensitive matching
highlightColorcolorCustom highlight color
querytextSearch query to highlight
texttextFull text to display
Using Highlighttsx
import { Highlight } from '@/components/Highlight'

<Highlight
  text="..."
  query="..."
  highlightColor="..."
  caseSensitive="..."
/>
Tokens Used
No design tokens detected