Typography
Mark
Highlights a fragment of text, such as a search match.
import { Mark } from "datui";Examples
Search highlight
Results for “token”: design tokens define colors, radii and spacing.
Accessibility
- Renders a native
<mark>, which assistive technologies can announce as highlighted.
API
Mark
Highlights a text fragment, e.g. a search match.
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | — |