Hover the icon or press Play. Suggested motion: turn. Pick another to preview it and update the animated code:
X Mark icon
A free x mark icon from Tabler 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
npx shadcn@latest add https://ui.cuelark.com/r/icons/tabler/x-mark.jsonimport * as React from "react";
/**
* X Mark from Tabler Icons (https://github.com/tabler/tabler-icons), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/tabler/x-mark. Sized in em, colored by currentColor.
*/
export function TbXMarkIcon(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="M12 16l3.644 3.644a1.21 1.21 0 0 0 1.712 0l2.288 -2.288a1.21 1.21 0 0 0 0 -1.712l-3.644 -3.644l3.644 -3.644a1.21 1.21 0 0 0 0 -1.712l-2.288 -2.288a1.21 1.21 0 0 0 -1.712 0l-3.644 3.644l-3.644 -3.644a1.21 1.21 0 0 0 -1.712 0l-2.288 2.288a1.21 1.21 0 0 0 0 1.712l3.644 3.644l-3.644 3.644a1.21 1.21 0 0 0 0 1.712l2.288 2.288a1.21 1.21 0 0 0 1.712 0l3.644 -3.644"
/>
</svg>
);
}import { TbXMark } from "react-icons/tb";
export function Example() {
return <TbXMark 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="M12 16l3.644 3.644a1.21 1.21 0 0 0 1.712 0l2.288 -2.288a1.21 1.21 0 0 0 0 -1.712l-3.644 -3.644l3.644 -3.644a1.21 1.21 0 0 0 0 -1.712l-2.288 -2.288a1.21 1.21 0 0 0 -1.712 0l-3.644 3.644l-3.644 -3.644a1.21 1.21 0 0 0 -1.712 0l-2.288 2.288a1.21 1.21 0 0 0 0 1.712l3.644 3.644l-3.644 3.644a1.21 1.21 0 0 0 0 1.712l2.288 2.288a1.21 1.21 0 0 0 1.712 0l3.644 -3.644"
/>
</svg>"X Mark" icon from Tabler Icons (https://github.com/tabler/tabler-icons), licensed under MIT license.Related icons: close, cancel, dismiss, times
- exclamation mark
- exclamation mark off
- question mark
- adjustments cancel
- arrows cross
- basket cancel
- bell cancel
- calendar cancel
- camera cancel
- cancel
- clock cancel
- cloud cancel
- column remove
- cross
- cross filled
- cross off
- device desktop cancel
- device imac cancel
- device ipad cancel
- device ipad horizontal cancel
- device mobile cancel
- device tablet cancel
- device watch cancel
- devices cancel