All components
Mark
Inline text highlights with subtle, solid, and text-decoration treatments.
Styles are compiled
Variants
Styles are compiledsubtle
Styles are compiledsolid
Styles are compiledtext
Styles are compiledplain
Install
zsh — mark
1bunx stylexblocks add markUsage — Ark UI
mark.tsx
12345678910import { Mark } from "#components/ui/ark-ui/mark.tsx";
export function Example() { return ( <p> Styles are <Mark variant="subtle">compiled at build time</Mark> and shipped as <Mark variant="text">static CSS</Mark>. </p> );}