Hover the icon or press Play. Suggested motion: nudge-right. Pick another to preview it and update the animated code:
Shape Triangle icon
A free shape triangle icon from css.gg, 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/css-gg/shape-triangle.jsonimport * as React from "react";
/**
* Shape Triangle from css.gg (https://github.com/astrit/css.gg), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/css-gg/shape-triangle. Sized in em, colored by currentColor.
*/
export function CgShapeTriangleIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
aria-hidden="true"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
fill="currentColor"
strokeWidth="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M11.6603 5L3 20H20.3205L11.6603 5ZM11.6603 11L8.19615 17H15.1244L11.6603 11Z"
fill="currentColor"
/>
</svg>
);
}import { CgShapeTriangle } from "react-icons/cg";
export function Example() {
return <CgShapeTriangle className="size-5" />;
}<svg
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
fill="currentColor"
stroke-width="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M11.6603 5L3 20H20.3205L11.6603 5ZM11.6603 11L8.19615 17H15.1244L11.6603 11Z"
fill="currentColor"
/>
</svg>"Shape Triangle" icon from css.gg (https://github.com/astrit/css.gg), licensed under MIT license.