# Rough Notation

> Animated hand-drawn underlines, highlights, circles, boxes and brackets on page text, drawn with Rough.js.

Source: https://tastebase.ehsanulsiam.workers.dev/browse/rough-notation

free

Animated hand-drawn underlines, highlights, circles, boxes and brackets on page text, drawn with Rough.js.

by Preet Shihn[GitHub](https://github.com/rough-stuff/rough-notation)[npm](https://npmjs.com/package/rough-notation)

[visit](https://roughnotation.com/?utm_source=tastebase&utm_medium=referral&utm_content=detail-page)

[https://roughnotation.com](https://roughnotation.com/?utm_source=tastebase&utm_medium=referral&utm_content=detail-preview)

## Try these

no preview

### [Rough.js](https://tastebase.ehsanulsiam.workers.dev/browse/roughjs)

Draws lines, shapes and SVG paths in a sketchy, hand-drawn style on canvas or SVG; the renderer behind Excalidraw.

no preview

### [Motion](https://tastebase.ehsanulsiam.workers.dev/browse/motion)

The default animation library for React (formerly Framer Motion): springs, gestures, layout and exit animations.

no preview

### [Scrollama](https://tastebase.ehsanulsiam.workers.dev/browse/scrollama)

Scrollytelling on IntersectionObserver: fires an event as each text step crosses a line, so a sticky graphic can change state.

no preview

### [Fancy Components](https://tastebase.ehsanulsiam.workers.dev/browse/fancy-components)

Playful React motion pieces: physics gravity, text rotate, variable-font hover, image trails, as shadcn source.

## Looks that pick it

[Hand-drawnfirst pick](https://tastebase.ehsanulsiam.workers.dev/looks/hand-drawn)[Scrapbook / stickerfirst pick](https://tastebase.ehsanulsiam.workers.dev/looks/scrapbook)[Cartoonfirst pick](https://tastebase.ehsanulsiam.workers.dev/looks/cartoon)

## For your agent

##### Install

`npm i rough-notation`

##### Use it for

- hand-drawn underline or highlighter mark on a key phrase in a headline
- circle or box a word, number or price in a headline to draw the eye on a landing page
- a sequence of marks drawn in order as a section scrolls into view (annotationGroup)
- crossing out an old price or word with a sketchy strike-through

##### Skip it when

- app UI and dense text: a sketchy mark in product UI looks unfinished, use weight or a plain <mark>
- drawing sketchy shapes or charts: use roughjs
- a clean straight highlighter sweep for a minimal or corporate look: animate a CSS background-size gradient instead

##### What's inside8 free

- underline
- box
- circle
- highlight
- strike-through
- crossed-off
- bracket
- annotationGroup

##### Facts

**Frameworks**
vanilla, react, vue, svelte, solid, angular

**Styling**
unstyled

**Weight**
tiny

**Accessibility**
ok

**Maturity**
stable

**License**
MIT

**Price**
Free

##### Pairs with

[Rough.js](https://tastebase.ehsanulsiam.workers.dev/browse/roughjs)[Motion](https://tastebase.ehsanulsiam.workers.dev/browse/motion)

```
import { annotate } from 'rough-notation'

const mark = annotate(document.querySelector<HTMLElement>('#key-phrase')!, {
  type: 'highlight',
  color: '#fde68a',
  animationDuration: 600,
  multiline: true,
})
mark.show()
```

https://roughnotation.com

Loading website

[Visit](https://roughnotation.com/?utm_source=tastebase&utm_medium=referral&utm_content=floating-pill)
