A piano icon that draws itself on hover and presses a chord of three keys down when it plays, and back up when it stops.
React + HTML
Gratis
Status
Meer hieronder ↓
Ingebouwd
Wat je krijgt
Licht en donkerGebruikt de kleuren van je thema
Pakketten…
Codegrootte…
Bij elke wijziging gecheckt
TypecheckTypeScript strict
Lint en opmaakESLint · Prettier
Tests en buildScreenshots in licht en donker
BeveiligingsauditGeen hoge of kritieke advisories
Leeftijd van pakkettenElke versie al 7+ dagen openbaar
CPU in rustOnder een halve core in rust, ≤ 30 fps
Code
Klopt er iets niet met dit component? Feedback sturen ›
piano-iconHTML
index.htmlpageThe markup to copy, between the copy-from-here comments, on a demo page.
style.cssstyleThe styles: copy them into your CSS.
script.jsscriptThe behavior: load it after the markup.
index.html
The markup to copy, between the copy-from-here comments, on a demo page.
Laden…
Goed voor
Piano and music lesson apps, instrument pickers, sound settings and practice timers.
Hoe het werkt
Hover it and the case draws in, the black keys drop in and the key lines draw. Play it and three white keys press down one after another and stay shaded as a chord; stop it and they lift.
Hoe je het gebruikt
Link style.css en script.js vanuit je pagina en plak daarna de markup uit index.html op de plek waar die hoort.