Hover the icon or press Play. Suggested motion: pop. Pick another to preview it and update the animated code:
Polygon icon
A free polygon icon from Tabler Icons, 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
- MIT license
- Project
- github.com
npx shadcn@latest add https://ui.cuelark.com/r/icons/tabler/polygon.jsonimport * as React from "react";
/**
* Polygon from Tabler Icons (https://github.com/tabler/tabler-icons), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/tabler/polygon. Sized in em, colored by currentColor.
*/
export function TbPolygonIcon(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="M10 5a2 2 0 1 0 4 0a2 2 0 1 0 -4 0" />
<path d="M17 8a2 2 0 1 0 4 0a2 2 0 1 0 -4 0" />
<path d="M3 11a2 2 0 1 0 4 0a2 2 0 1 0 -4 0" />
<path d="M13 19a2 2 0 1 0 4 0a2 2 0 1 0 -4 0" />
<path d="M6.5 9.5l3.5 -3" />
<path d="M14 5.5l3 1.5" />
<path d="M18.5 10l-2.5 7" />
<path d="M13.5 17.5l-7 -5" />
</svg>
);
}import { TbPolygon } from "react-icons/tb";
export function Example() {
return <TbPolygon 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="M10 5a2 2 0 1 0 4 0a2 2 0 1 0 -4 0" />
<path d="M17 8a2 2 0 1 0 4 0a2 2 0 1 0 -4 0" />
<path d="M3 11a2 2 0 1 0 4 0a2 2 0 1 0 -4 0" />
<path d="M13 19a2 2 0 1 0 4 0a2 2 0 1 0 -4 0" />
<path d="M6.5 9.5l3.5 -3" />
<path d="M14 5.5l3 1.5" />
<path d="M18.5 10l-2.5 7" />
<path d="M13.5 17.5l-7 -5" />
</svg>"Polygon" icon from Tabler Icons (https://github.com/tabler/tabler-icons), licensed under MIT license.