# Hand-drawn text marker

https://fieldbook.lizardi.mx/components/hand-drawn-text-marker

Category: Text effects
![Still of the Hand-drawn text marker component, a Fieldbook UI component in Text effects.](https://fieldbook.lizardi.mx/thumbs/hand-drawn-text-marker.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/hand-drawn-text-marker-c2d07cf063.mp4 (5 s, silent)

Hand-drawn text marker: Wraps a span of text with a hand-drawn marker annotation, such as a highlight wash, underline, circle, or box, that draws itself on with a slightly imperfect sketched stroke.

## Frameworks

react, vue, svelte, astro, html

## Preview controls

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

| Name | Type | Default | Options or constraints |
| --- | --- | --- | --- |
| action | select | highlight | Options: highlight, underline, box, circle, strike-through |
| color | color | #F5C542 | No additional limit in the metadata. |
| animateOnView | boolean | false | No additional limit in the metadata. |
| strokeWidth | number | 1.5 | From 0.5 to 4; step 0.5 |

## Usage notes

Hand-drawn text marker uses the card preview frame with a light/dark theme setting.

### Which frameworks are available for Hand-drawn text marker?

Hand-drawn text marker is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

### What does Hand-drawn text marker depend on?

The React metadata lists these npm dependencies beyond React: motion.

### What accessibility details are visible in Hand-drawn text marker?

The React source for Hand-drawn text marker includes: attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Hand-drawn text marker handle reduced motion?

Hand-drawn text marker reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: duration: reduced ? 0 : 0.9; pathLength: reduced ? 1 : played ? 1 : 0; reduced ? false : \{ pathLength: 0 \}. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

## Install through MCP

Connect your client, call get_component to retrieve the implementation, then get_install_command for installation instructions. Choose a listed framework, integrate the returned source and verify it in your application.

```json
{
  "tool": "get_component",
  "arguments": {
    "slug": "hand-drawn-text-marker",
    "framework": "react"
  }
}
```

[For agents](https://fieldbook.lizardi.mx/docs/agents)
[MCP](https://fieldbook.lizardi.mx/api/mcp)

## Related open components

- [Physics drop text](https://fieldbook.lizardi.mx/components/physics-drop-text)
- [RGB glitch heading](https://fieldbook.lizardi.mx/components/rgb-glitch-heading)
- [Twinkle highlight text](https://fieldbook.lizardi.mx/components/twinkle-highlight-text)
- [Cascading Letter Reveal](https://fieldbook.lizardi.mx/components/cascading-letter-reveal)
- [Shimmer Wave Text](https://fieldbook.lizardi.mx/components/character-wave-shimmer)
- [Circular hover speed ring](https://fieldbook.lizardi.mx/components/circular-hover-speed-ring)
