Hover the icon or press Play. Suggested motion: pop. Pick another to preview it and update the animated code:
Piano icon
A free piano icon from Lucide, ready for React. Use it static or animated: both versions are below, copy-paste or one shadcn command away. Sized in em and colored by currentColor.
- License
- ISC license
- Project
- lucide.dev
npx shadcn@latest add https://ui.cuelark.com/r/icons/lucide/piano.jsonimport * as React from "react";
/**
* Piano from Lucide (https://lucide.dev/), ISC.
* Via Cuelark UI: ui.cuelark.com/icons/lucide/piano. Sized in em, colored by currentColor.
*/
export function LuPianoIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
aria-hidden="true"
fill="none"
strokeWidth="2"
viewBox="0 0 24 24"
strokeLinecap="round"
strokeLinejoin="round"
stroke="currentColor"
fill="currentColor"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path
d="M18.5 8c-1.4 0-2.6-.8-3.2-2A6.87 6.87 0 0 0 2 9v11a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-8.5C22 9.6 20.4 8 18.5 8"
/>
<path d="M2 14h20" />
<path d="M6 14v4" />
<path d="M10 14v4" />
<path d="M14 14v4" />
<path d="M18 14v4" />
</svg>
);
}import { LuPiano } from "react-icons/lu";
export function Example() {
return <LuPiano className="size-5" />;
}<svg
fill="none"
stroke-width="2"
viewBox="0 0 24 24"
stroke-linecap="round"
stroke-linejoin="round"
stroke="currentColor"
fill="currentColor"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M18.5 8c-1.4 0-2.6-.8-3.2-2A6.87 6.87 0 0 0 2 9v11a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-8.5C22 9.6 20.4 8 18.5 8"
/>
<path d="M2 14h20" />
<path d="M6 14v4" />
<path d="M10 14v4" />
<path d="M14 14v4" />
<path d="M18 14v4" />
</svg>"Piano" icon from Lucide (https://lucide.dev/), licensed under ISC license.