Skip to content
Cuelark UI

Hover the icon or press Play. Suggested motion: shake. Pick another to preview it and update the animated code:

Ionicons 5 · IoWarningOutline

Warning Outline icon

A free warning outline icon from Ionicons 5, 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
ionicons.com
Install with shadcn
npx shadcn@latest add https://ui.cuelark.com/r/icons/ionicons-5/warning-outline.json
components/icons/ionicons-5-warning-outline.tsx
import * as React from "react";

/**
 * Warning Outline from Ionicons 5 (https://ionicons.com/), MIT.
 * Via Cuelark UI: ui.cuelark.com/icons/ionicons-5/warning-outline. Sized in em, colored by currentColor.
 */
export function IoWarningOutlineIcon(props: React.SVGProps<SVGSVGElement>) {
  return (
    <svg
      aria-hidden="true"
      viewBox="0 0 512 512"
      stroke="currentColor"
      fill="currentColor"
      strokeWidth="0"
      width="1em"
      height="1em"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        fill="none"
        strokeLinecap="round"
        strokeLinejoin="round"
        strokeWidth="32"
        d="M85.57 446.25h340.86a32 32 0 0 0 28.17-47.17L284.18 82.58c-12.09-22.44-44.27-22.44-56.36 0L57.4 399.08a32 32 0 0 0 28.17 47.17"
      />
      <path
        fill="none"
        strokeLinecap="round"
        strokeLinejoin="round"
        strokeWidth="32"
        d="m250.26 195.39 5.74 122 5.73-121.95a5.74 5.74 0 0 0-5.79-6h0a5.74 5.74 0 0 0-5.68 5.95"
      />
      <path d="M256 397.25a20 20 0 1 1 20-20 20 20 0 0 1-20 20" />
    </svg>
  );
}
With react-icons
import { IoWarningOutline } from "react-icons/io5";

export function Example() {
  return <IoWarningOutline className="size-5" />;
}
warning-outline.svg
<svg
  viewBox="0 0 512 512"
  stroke="currentColor"
  fill="currentColor"
  stroke-width="0"
  width="1em"
  height="1em"
  xmlns="http://www.w3.org/2000/svg"
>
  <path
    fill="none"
    stroke-linecap="round"
    stroke-linejoin="round"
    stroke-width="32"
    d="M85.57 446.25h340.86a32 32 0 0 0 28.17-47.17L284.18 82.58c-12.09-22.44-44.27-22.44-56.36 0L57.4 399.08a32 32 0 0 0 28.17 47.17"
  />
  <path
    fill="none"
    stroke-linecap="round"
    stroke-linejoin="round"
    stroke-width="32"
    d="m250.26 195.39 5.74 122 5.73-121.95a5.74 5.74 0 0 0-5.79-6h0a5.74 5.74 0 0 0-5.68 5.95"
  />
  <path d="M256 397.25a20 20 0 1 1 20-20 20 20 0 0 1-20 20" />
</svg>
Attribution
"Warning Outline" icon from Ionicons 5 (https://ionicons.com/), licensed under MIT license.

Related icons: alert, caution, error, danger

Warning Outline icon in other sets