Hover the icon or press Play. Suggested motion: shake. Pick another to preview it and update the animated code:
Alert Triangle icon
A free alert triangle icon from Feather, 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.
Also known asbell iconnotification iconalarm iconreminder iconwarning iconcaution iconerror icondanger icon
- License
- MIT license
- Project
- feathericons.com
npx shadcn@latest add https://ui.cuelark.com/r/icons/feather/alert-triangle.jsonimport * as React from "react";
/**
* Alert Triangle from Feather (https://feathericons.com/), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/feather/alert-triangle. Sized in em, colored by currentColor.
*/
export function FiAlertTriangleIcon(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.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"
/>
<line x1="12" y1="9" x2="12" y2="13" />
<line x1="12" y1="17" x2="12.01" y2="17" />
</svg>
);
}import { FiAlertTriangle } from "react-icons/fi";
export function Example() {
return <FiAlertTriangle 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.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"
/>
<line x1="12" y1="9" x2="12" y2="13" />
<line x1="12" y1="17" x2="12.01" y2="17" />
</svg>"Alert Triangle" icon from Feather (https://feathericons.com/), licensed under MIT license.