Sticky notes (SVG)
Founder ask (2026-10-02): replace the CSS folded corner with "a post it svg you could reshape."
Each SVG is hand-built, about 3.3 KB, with no raster images. Each contains:
- pale yellow paper (#FFF19C to #FFEC8B to #FDE680)
- a faint grain made with an SVG
feTurbulencefilter - a slightly darker adhesive band across the top
- a soft vignette, and a slight darkening toward the lifted corner
- a peeled bottom-right corner with three parts:
- the underside of the lifted flap, with a gradient that is darker at the fold and has a highlight along the roll
- the flap's shadow on the note face
- a cast shadow on the surface where the corner left it
- a soft contact shadow that is darker along the bottom edge
Shadows are neutral ink (#1E2433), so they work on the blue graph paper. The @2x.png files are transparent previews.
I did not use Quiver Arrow. Its output is a flat, cartoon-outline vector style, which works against the photoreal paper look asked for here. Hand-built gradients and filters give full control of the peel.
Safe content boxes (viewBox units)
The SVGs include 36px of padding on every side for the shadow, so the note rectangle starts at (36, 36). Place text inside safe_box [x, y, width, height]. It sits below the adhesive band, inset 9% from the sides, and above the peel.
| File | viewBox | Note rect [x, y, w, h] | Safe box [x, y, w, h] |
|---|---|---|---|
| sticky-square.svg | 0 0 472 472 | 36, 36, 400, 400 | 72, 114, 328, 232 |
| sticky-wide.svg | 0 0 552 432 | 36, 36, 480, 360 | 79, 107, 394, 207 |
| sticky-tall.svg | 0 0 432 552 | 36, 36, 360, 480 | 68, 128, 295, 306 |
The same numbers are in safe.json. When you scale the SVG, scale the box by the same factor. For example, the square shown at 236px wide has a safe box of 36, 57, 164, 116.
Usage: absolutely position a text div over an <img src="sticky-square.svg"> at the safe box, and give the wrapper a small rotate(). Don't add a CSS shadow, because the shadow is already in the SVG.
Regenerate or reshape
tools/make.py <outdir> writes all three SVGs plus safe.json. In the script:
SIZESsets the note sizes.csets the peel size (20% of the short side).tx, tyset where the flap tip lands.
tools/render.py <outdir> renders the 2x PNGs and preview-sheet.png. The preview text uses Bw_Handwriting-Regular.ttf at 54px, and the dashed outline on the sheet marks the safe box.
Known issue: handwriting font numerals
In the font, "14.8%" renders with a gap after the "1", and the "8" reads like a "6". This is a glyph or kerning problem in the font, not in the note. Check the font's digits before using it to show numbers.