Installation
Usage
Props
The content to be highlighted or annotated
The type of annotation effect. Options:
highlight, underline, box, circle, strike-through, crossed-off, bracketThe color of the highlight or annotation
Width of the annotation stroke in pixels
Duration of the drawing animation in milliseconds
Number of times to draw the annotation (creates a sketchy effect when > 1)
Padding between the text and the annotation in pixels
Whether to annotate across multiple lines or treat as single line
If true, animation starts only when element enters viewport
Annotation Types
- highlight - Background highlight
- underline - Underline below text
- box - Box around text
- circle - Circle around text
- strike-through - Line through text
- crossed-off - X through text
- bracket - Brackets around text