Hover the icon or press Play. Suggested motion: pop. Pick another to preview it and update the animated code:
File icon
A free file icon from Flat Color 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.
Also known asdocument iconpage iconpaper icondoc iconsheet iconattachment iconpaperclip iconattach icon
- License
- MIT license
- Project
- github.com
npx shadcn@latest add https://ui.cuelark.com/r/icons/flat-color/file.jsonimport * as React from "react";
/**
* File from Flat Color Icons (https://github.com/icons8/flat-color-icons), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/flat-color/file. Sized in em, colored by currentColor.
*/
export function FcFileIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
aria-hidden="true"
version="1"
viewBox="0 0 48 48"
enableBackground="new 0 0 48 48"
stroke="currentColor"
fill="currentColor"
strokeWidth="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<polygon fill="#90CAF9" points="40,45 8,45 8,3 30,3 40,13" />
<polygon fill="#E1F5FE" points="38.5,14 29,14 29,4.5" />
</svg>
);
}import { FcFile } from "react-icons/fc";
export function Example() {
return <FcFile className="size-5" />;
}<svg
version="1"
viewBox="0 0 48 48"
enable-background="new 0 0 48 48"
stroke="currentColor"
fill="currentColor"
stroke-width="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
>
<polygon fill="#90CAF9" points="40,45 8,45 8,3 30,3 40,13" />
<polygon fill="#E1F5FE" points="38.5,14 29,14 29,4.5" />
</svg>"File" icon from Flat Color Icons (https://github.com/icons8/flat-color-icons), licensed under MIT license.