Skip to content

Mark

Free

Highlights a phrase that the reader must not miss, or the words that match a search. It wraps with the text and does not move it.

  • React 19
  • Tailwind CSS 4

Added Nov 8, 2026 · MIT + Commons Clause

Playground

Loading the preview

Props

Wrap the phrase. The mark takes the font of the text around it, and it wraps line by line.

vault-note.tsx

Mark

<mark>
PropTypeDefaultDescription
tone"destructive""info""neutral""success""warning"—
...props<mark> attributes—Every other attribute goes to the <mark>, with a ref.
  • Use it on a phrase that the reader must notice, or on the words that match a search.
  • Use the neutral tone for emphasis and search matches.
  • Use success, warning, info, or destructive only when the phrase is about that status.
  • To find and mark search terms in a text, use a Highlight.
  • For a status label on its own, use a Badge.

It is the native <mark>. The words must carry the meaning, because color alone does not.

Alone it takes no focus. To make it a trigger, render it through a trigger with role="button".

  1. AddedMark.
Open the release