Skip to content
Cuelark UI

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

Radix Icons · RxExclamationMark

Exclamation Mark icon

A free exclamation mark icon from Radix 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
icons.radix-ui.com
Install with shadcn
npx shadcn@latest add https://ui.cuelark.com/r/icons/radix/exclamation-mark.json
components/icons/radix-exclamation-mark.tsx
import * as React from "react";

/**
 * Exclamation Mark from Radix Icons (https://icons.radix-ui.com), MIT.
 * Via Cuelark UI: ui.cuelark.com/icons/radix/exclamation-mark. Sized in em, colored by currentColor.
 */
export function RxExclamationMarkIcon(props: React.SVGProps<SVGSVGElement>) {
  return (
    <svg
      aria-hidden="true"
      fill="none"
      viewBox="0 0 15 15"
      stroke="currentColor"
      fill="currentColor"
      strokeWidth="0"
      width="1em"
      height="1em"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M7.49971 10.7503C7.91393 10.7503 8.24971 11.086 8.24971 11.5003C8.24955 11.9143 7.91383 12.2503 7.49971 12.2503C7.08572 12.2501 6.74987 11.9142 6.74971 11.5003C6.74971 11.0861 7.08563 10.7504 7.49971 10.7503ZM7.48311 2.25029C8.00061 2.25054 8.41411 2.68038 8.39424 3.19756L8.20577 8.80498C8.19119 9.18285 7.8808 9.48168 7.50264 9.48174C7.12444 9.48174 6.81409 9.18288 6.79952 8.80498L6.571 3.19756C6.55111 2.68023 6.9654 2.25029 7.48311 2.25029Z"
        fill="currentColor"
      />
    </svg>
  );
}
With react-icons
import { RxExclamationMark } from "react-icons/rx";

export function Example() {
  return <RxExclamationMark className="size-5" />;
}
exclamation-mark.svg
<svg
  fill="none"
  viewBox="0 0 15 15"
  stroke="currentColor"
  fill="currentColor"
  stroke-width="0"
  width="1em"
  height="1em"
  xmlns="http://www.w3.org/2000/svg"
>
  <path
    d="M7.49971 10.7503C7.91393 10.7503 8.24971 11.086 8.24971 11.5003C8.24955 11.9143 7.91383 12.2503 7.49971 12.2503C7.08572 12.2501 6.74987 11.9142 6.74971 11.5003C6.74971 11.0861 7.08563 10.7504 7.49971 10.7503ZM7.48311 2.25029C8.00061 2.25054 8.41411 2.68038 8.39424 3.19756L8.20577 8.80498C8.19119 9.18285 7.8808 9.48168 7.50264 9.48174C7.12444 9.48174 6.81409 9.18288 6.79952 8.80498L6.571 3.19756C6.55111 2.68023 6.9654 2.25029 7.48311 2.25029Z"
    fill="currentColor"
  />
</svg>
Attribution
"Exclamation Mark" icon from Radix Icons (https://icons.radix-ui.com), licensed under MIT license.

Related icons: warning, alert, caution, error

Exclamation Mark icon in other sets