Skip to content
Interactive

StringHarp

A walnut lever harp. Sweep across the strings and each one bends, shivers and rings at its own pitch, with a real plucked-string sound. Red strings mark the octaves. Arrow keys walk the strings, Enter plucks.

Download
  • React
  • Tailwind CSS v4
  • motion

Props

NameTypeDefaultWhat it does
notesnumber[]D pentatonic, 13 notesFrequency of each string in Hz, longest string first.
soundbooleantrueBrowsers stay silent until the first press or key.
onPluck(index: number) => void-Called with the string index on every pluck.
labelstring"Harp"Read out by screen readers.
classNamestring"w-96"Set the width here. Everything scales with it.