0Views
0Copies
Variants

API Reference
Props for <PinnedNote />
| Prop | Type | Default | Description |
|---|---|---|---|
| frameColor | string | "#a8784c" | The wooden frame round the cork. |
| boardColor | string | "#d4bfa9" | The cork board's colour. |
| paperColor | string | "#faf9f6" | The paper's colour. |
| inkColor | string | "#1f1c1a" | The handwriting and the marker underline. |
| lineColor | string | "rgba(96, 130, 196, 0.3)" | The ruled lines on a ruled sheet. |
| fastenerColor | string | "#2f6fe0" | The pin's head, the paperclip's wire or the tape. |
| marginColor | string | "rgba(214, 92, 80, 0.55)" | The red margin line down a ruled sheet. |
| highlightColor | string | "rgba(255, 214, 72, 0.55)" | The highlighter stroke behind the heading; fully transparent hides it. |
| stampColor | string | "#c8402f" | The rubber stamp's ink and the ticks in the checklist. |
| paper | 'ruled' | 'sticky' | 'card' | "ruled" | A sheet torn from a notebook with punched holes, a sticky note, or a plain card. |
| Prop | Type | Default | Description |
|---|---|---|---|
| label | string | "Notice board" | Engraved on the brass plate on the frame; empty hides the plate. |
| hint | string | "pull me off the pin" | The pencilled hint beside the note, rubbed out once the note is first moved; empty hides it. |
| title | string | "Project\nbrief" | The heading, one line per row. |
| text | string | "Fix a bus stop\nIn teams of three" | The lines written under the underline, one per row. |
| stamp | string | "Due Fri" | Stamped in the corner in red ink; empty hides the stamp. |
| checklist | boolean | true | Draws a hand-drawn box before each line. |
| done | number | 1 | How many of the first lines are ticked off. |
| font | FontValue | {"fontFamily":"Patrick Hand","fontWeight":400} | The handwriting's family and weight. The component doesn’t load the font: add it to your app. |
| fastener | 'pin' | 'clip' | 'tape' | "pin" | What holds the note up, and what it swings from. |
| Prop | Type | Default | Description |
|---|---|---|---|
| fastenerX | number | 56.8 | Where the fastener sits across the top edge. |
| boardWidth | number | 640 | The board's widest size; it never grows past its container. |
| boardHeight | number | 420 | The board's height. |
| boardRadius | number | 24 | The board's corner radius. |
| frameWidth | number | 18 | The wooden frame's width; 0 leaves bare cork. |
| width | number | 200 | The note's width; it never grows past the board. |
| noteX | number | 50 | Where the note is first pinned, across the board. |
| noteY | number | 14 | Where the note is first pinned, down the board. |
| tilt | number | 4 | The angle it hangs at when still. |
| stiffness | number | 58 | How fast it swings back: higher is a quicker, stiffer swing. |
| damping | number | 5.6 | How soon a swing dies down: higher settles sooner. |
| draft | number | 0.2 | How hard the air of a passing cursor pushes the note; 0 turns it off. |
| movable | boolean | true | Pulled off its fastener, the note can be carried across the board and pinned up again; arrow keys move it too. |
| entrance | boolean | true | Put it up with a drop and a pin press when it first comes into view. |
| Prop | Type | Default | Description |
|---|---|---|---|
| details | boolean | true | Spare pins, an old strip of tape, a torn scrap and old pin holes on the cork. |
S
Motion score
Compositor-only
- Category
- Interactive Elements
- Framework
- React
- Published
- Nov 27, 2026
- Dependencies
- Variants
Pinned Note
A framed cork board with one handwritten note hung on a push pin, paperclip or strip of tape. The note is put up with a drop and a pin press, sways in the air of a passing cursor, curls a corner when pointed at, and turns round its fastener when grabbed; pull it harder and it comes off, to be carried across the board and pinned up again wherever it is let go.