Hover the icon or press Play. Suggested motion: pop. Pick another to preview it and update the animated code:
Hexagon icon
A free hexagon 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/hexagon.jsonimport * as React from "react";
/**
* Hexagon from Lucide (https://lucide.dev/), ISC.
* Via Cuelark UI: ui.cuelark.com/icons/lucide/hexagon. Sized in em, colored by currentColor.
*/
export function LuHexagonIcon(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="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"
/>
</svg>
);
}import { LuHexagon } from "react-icons/lu";
export function Example() {
return <LuHexagon 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="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"
/>
</svg>"Hexagon" icon from Lucide (https://lucide.dev/), licensed under ISC license.