Skip to content
Cuelark UI

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

Ant Design Icons · AiFillX

Fill X icon

A free fill x icon from Ant Design 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
Install with shadcn
npx shadcn@latest add https://ui.cuelark.com/r/icons/ant-design/fill-x.json
components/icons/ant-design-fill-x.tsx
import * as React from "react";

/**
 * Fill X from Ant Design Icons (https://github.com/ant-design/ant-design-icons), MIT.
 * Via Cuelark UI: ui.cuelark.com/icons/ant-design/fill-x. Sized in em, colored by currentColor.
 */
export function AiFillXIcon(props: React.SVGProps<SVGSVGElement>) {
  return (
    <svg
      aria-hidden="true"
      viewBox="0 0 1024 1024"
      stroke="currentColor"
      fill="currentColor"
      strokeWidth="0"
      width="1em"
      height="1em"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <g
        fill="none"
        fillRule="evenodd"
        stroke="none"
        strokeWidth="1"
        transform="translate(112 112)"
      >
        <path
          d="M711.111 800H88.89C39.8 800 0 760.2 0 711.111V88.89C0 39.8 39.8 0 88.889 0H711.11C760.2 0 800 39.8 800 88.889V711.11C800 760.2 760.2 800 711.111 800"
        />
        <path
          fillRule="nonzero"
          d="M628 623H484.942L174 179h143.058zm-126.012-37.651h56.96L300.013 216.65h-56.96z"
        />
        <path fillRule="nonzero" d="M219.296885 623 379 437.732409 358.114212 410 174 623z" />
        <path fillRule="nonzero" d="M409 348.387347 429.212986 377 603 177 558.330417 177z" />
      </g>
    </svg>
  );
}
With react-icons
import { AiFillX } from "react-icons/ai";

export function Example() {
  return <AiFillX className="size-5" />;
}
fill-x.svg
<svg
  viewBox="0 0 1024 1024"
  stroke="currentColor"
  fill="currentColor"
  stroke-width="0"
  width="1em"
  height="1em"
  xmlns="http://www.w3.org/2000/svg"
>
  <g
    fill="none"
    fill-rule="evenodd"
    stroke="none"
    stroke-width="1"
    transform="translate(112 112)"
  >
    <path
      d="M711.111 800H88.89C39.8 800 0 760.2 0 711.111V88.89C0 39.8 39.8 0 88.889 0H711.11C760.2 0 800 39.8 800 88.889V711.11C800 760.2 760.2 800 711.111 800"
    />
    <path
      fill-rule="nonzero"
      d="M628 623H484.942L174 179h143.058zm-126.012-37.651h56.96L300.013 216.65h-56.96z"
    />
    <path fill-rule="nonzero" d="M219.296885 623 379 437.732409 358.114212 410 174 623z" />
    <path fill-rule="nonzero" d="M409 348.387347 429.212986 377 603 177 558.330417 177z" />
  </g>
</svg>
Attribution
"Fill X" icon from Ant Design Icons (https://github.com/ant-design/ant-design-icons), licensed under MIT license.

Related icons: close, cancel, dismiss, times