Hover the icon or press Play. Suggested motion: shake. Pick another to preview it and update the animated code:
Delete icon
A free delete icon from Feather, 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
- feathericons.com
npx shadcn@latest add https://ui.cuelark.com/r/icons/feather/delete.jsonimport * as React from "react";
/**
* Delete from Feather (https://feathericons.com/), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/feather/delete. Sized in em, colored by currentColor.
*/
export function FiDeleteIcon(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="M21 4H8l-7 8 7 8h13a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2z" />
<line x1="18" y1="9" x2="12" y2="15" />
<line x1="12" y1="9" x2="18" y2="15" />
</svg>
);
}import { FiDelete } from "react-icons/fi";
export function Example() {
return <FiDelete 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="M21 4H8l-7 8 7 8h13a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2z" />
<line x1="18" y1="9" x2="12" y2="15" />
<line x1="12" y1="9" x2="18" y2="15" />
</svg>"Delete" icon from Feather (https://feathericons.com/), licensed under MIT license.