Skip to content

File

The file icon represents a file or document, often used to indicate paperwork, office work, or business data.

Add shadcn.io to your AI agent. · Pro It installs File, or any of 294k icons, from a prompt, with Pro.

Set up MCP

Exports at 24 × 24 px

File icon from Duoicons
Get Pro

91 in DuoiconsMIT license (opens in a new tab)Free to copy and download

Code

File in your framework

In any framework. Customize it above, and the code follows.

export const FileIcon = (props: React.SVGProps<SVGSVGElement>) => (
  <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" {...props}>
    <path fill="currentColor" fillRule="evenodd" d="M12 2v6.5a1.5 1.5 0 0 0 1.5 1.5H20v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z" class="duoicon-secondary-layer" opacity=".3"/><path fill="currentColor" fillRule="evenodd" d="M14 2.043c.379.08.726.269 1 .543L19.414 7c.274.274.463.621.543 1H14zm-2.346 9.656l-.894 1.535l-1.737.376a.4.4 0 0 0-.213.658l1.184 1.325l-.18 1.768a.4.4 0 0 0 .56.406L12 17.051l1.626.716a.4.4 0 0 0 .56-.406l-.18-1.768l1.184-1.325a.4.4 0 0 0-.213-.658l-1.737-.376l-.894-1.535a.4.4 0 0 0-.692 0" class="duoicon-primary-layer"/>
  </svg>
);

Other libraries

File in 8 more libraries

Each library draws it its own way. Open one to compare.

  • File icon from Arcticons
  • File icon from Phosphor
  • File icon from Material Design Icons
  • File icon from Tabler Icons
  • File icon from Myna UI Icons
  • File icon from TDesign Icons
  • File icon from WebHostingHub Glyphs
  • File icon from Bootstrap Icons

Duoicons

Icons that share its tags, then the ones next to it in Duoicons, in the same style.

  • Briefcase icon from Duoicons
  • Book icon from Duoicons
  • Book  2 icon from Duoicons
  • Book  3 icon from Duoicons
  • Dashboard icon from Duoicons
  • Disk icon from Duoicons
  • Upload File icon from Duoicons
  • Chart Pie icon from Duoicons
  • Info icon from Duoicons
  • Folder Open icon from Duoicons
  • Folder Upload icon from Duoicons
  • Cloud Lightning icon from Duoicons
  • Cloud Snow icon from Duoicons
  • Coin Stack icon from Duoicons
  • Compass icon from Duoicons
  • Computer Camera icon from Duoicons
  • Computer Camera Off icon from Duoicons
  • Confetti icon from Duoicons
  • Credit Card icon from Duoicons
  • Currency Euro icon from Duoicons
  • Discount icon from Duoicons
  • Fire icon from Duoicons
  • G Translate icon from Duoicons
  • Id Card icon from Duoicons

Skip the copy and paste. With Pro, your AI agent finds and installs any Duoicons icon from a prompt.

Get Pro

Tags

Browse by tag

File is tagged data, document, business and 3 more. Related tags follow; each opens its icons from every library.

Pricing

Duoicons MCP, with Pro

Ask for File or any of 91 Duoicons icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

Billed once a year in USD. Cancel anytime.

Individual

For personal projects & open source

$32instead of $49/mo

$389 billed yearly

  • How many people can use the license.Seats: 1 seat
  • Client work, SaaS products and anything you charge for.Commercial use: Personal & open source only
  • Production-ready React sections: hero, pricing, features, dashboards and more.Pro blocks: 6,000+ blocks
  • Complete multi-page sites you can ship as they are.Templates: All 14 templates
  • React icons from every major library, installable with one command.React icons: 294k+ icons
  • Presets that restyle every block, in light and dark.Themes: All 59 themes
  • Lets your AI editor search, preview and install blocks for you.MCP server: Basic usage
  • Priority requests are answered first.Support: Standard

Team

Most popular

For freelancers, agencies & startups

$66instead of $99/mo

$789 billed yearly · ≈ $13/dev/mo

Everything in Individual, plus

  • How many people can use the license.Seats: Up to 5 seats
  • Client work, SaaS products and anything you charge for.Commercial use: Included
  • Lets your AI editor search, preview and install blocks for you.MCP server: High usage
  • Priority requests are answered first.Support: Priority

Organization

For companies with larger teams

$132instead of $199/mo

$1,589 billed yearly

Everything in Team, plus

  • How many people can use the license.Seats: Unlimited seats
  • Lets your AI editor search, preview and install blocks for you.MCP server: Unlimited usage
  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What the File icon means and where it's used, then how to install, style and license it.

Install File from a prompt

MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.

Get Pro