Hover the icon or press Play. Suggested motion: pop. Pick another to preview it and update the animated code:
Diff Added icon
A free diff added icon from VS Code 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
- CC BY 4.0 license
- Project
- github.com
npx shadcn@latest add https://ui.cuelark.com/r/icons/vscode-codicons/diff-added.jsonimport * as React from "react";
/**
* Diff Added from VS Code Icons (https://github.com/microsoft/vscode-codicons), CC BY 4.0.
* Via Cuelark UI: ui.cuelark.com/icons/vscode-codicons/diff-added. Sized in em, colored by currentColor.
*/
export function VscDiffAddedIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
aria-hidden="true"
viewBox="0 0 16 16"
stroke="currentColor"
fill="currentColor"
strokeWidth="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path
d="M11.5 1H3.5C2.122 1 1 2.122 1 3.5V11.5C1 12.878 2.122 14 3.5 14H11.5C12.878 14 14 12.878 14 11.5V3.5C14 2.122 12.878 1 11.5 1ZM13 11.5C13 12.327 12.327 13 11.5 13H3.5C2.673 13 2 12.327 2 11.5V3.5C2 2.673 2.673 2 3.5 2H11.5C12.327 2 13 2.673 13 3.5V11.5ZM11 7.5C11 7.776 10.776 8 10.5 8H8V10.5C8 10.776 7.776 11 7.5 11C7.224 11 7 10.776 7 10.5V8H4.5C4.224 8 4 7.776 4 7.5C4 7.224 4.224 7 4.5 7H7V4.5C7 4.224 7.224 4 7.5 4C7.776 4 8 4.224 8 4.5V7H10.5C10.776 7 11 7.224 11 7.5Z"
/>
</svg>
);
}import { VscDiffAdded } from "react-icons/vsc";
export function Example() {
return <VscDiffAdded className="size-5" />;
}<svg
viewBox="0 0 16 16"
stroke="currentColor"
fill="currentColor"
stroke-width="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M11.5 1H3.5C2.122 1 1 2.122 1 3.5V11.5C1 12.878 2.122 14 3.5 14H11.5C12.878 14 14 12.878 14 11.5V3.5C14 2.122 12.878 1 11.5 1ZM13 11.5C13 12.327 12.327 13 11.5 13H3.5C2.673 13 2 12.327 2 11.5V3.5C2 2.673 2.673 2 3.5 2H11.5C12.327 2 13 2.673 13 3.5V11.5ZM11 7.5C11 7.776 10.776 8 10.5 8H8V10.5C8 10.776 7.776 11 7.5 11C7.224 11 7 10.776 7 10.5V8H4.5C4.224 8 4 7.776 4 7.5C4 7.224 4.224 7 4.5 7H7V4.5C7 4.224 7.224 4 7.5 4C7.776 4 8 4.224 8 4.5V7H10.5C10.776 7 11 7.224 11 7.5Z"
/>
</svg>"Diff Added" icon from VS Code Icons (https://github.com/microsoft/vscode-codicons), licensed under CC BY 4.0 license.