Motionz

Handwriting

A word written on with a pen: a gradient monoline stroke that draws itself in.

remotion

Installation

Terminal
npx shadcn@latest add https://motionz.dev/r/handwriting.json

Props

NameTypeDefaultDescription
dstring–One monoline SVG path, drawn in order like a pen stroke.
viewBoxstring–The path's viewBox, padded for the stroke width.
heightnumber–Rendered height in px; width follows the viewBox.
atnumber–Frame the pen touches down.
framesnumber60Frames to write the whole path.
colorsstring[]["#1d1d1f"]Gradient stops along the writing direction.
strokeWidthnumber20Stroke width in viewBox units.
slantnumber0Forward lean in degrees.
idstring"handwriting"Gradient id; make it unique when you draw more than one.
styleCSSProperties–Styles on the svg, e.g. margins to sit it on a baseline.