Hover the icon or press Play. Suggested motion: turn. Pick another to preview it and update the animated code:
Close icon
A free close 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
npx shadcn@latest add https://ui.cuelark.com/r/icons/ionicons-5/close.jsonimport * as React from "react";
/**
* Close from Ionicons 5 (https://ionicons.com/), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/ionicons-5/close. Sized in em, colored by currentColor.
*/
export function IoCloseIcon(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
d="m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34z"
/>
</svg>
);
}import { IoClose } from "react-icons/io5";
export function Example() {
return <IoClose className="size-5" />;
}<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
d="m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34z"
/>
</svg>"Close" icon from Ionicons 5 (https://ionicons.com/), licensed under MIT license.Related icons: x, cancel, dismiss, times
Close icon in other sets
Similar Ionicons 5 icons
- chevron forward circle sharp
- chevron forward outline
- chevron forward sharp
- chevron up
- chevron up circle
- chevron up circle outline
- chevron up circle sharp
- chevron up outline
- chevron up sharp
- clipboard
- clipboard outline
- clipboard sharp
- close circle
- close circle outline
- close circle sharp
- close outline
- close sharp
- cloud
- cloud circle
- cloud circle outline
- cloud circle sharp
- cloud done
- cloud done outline
- cloud done sharp