Figma UI component

Figma file type icons

File type icons let someone identify a document by its format before reading its name. This Figma set draws every icon at 40x40px and covers images, documents, design files, media, archives and code, each in default, gray and solid treatments.
About this component

File type icons in Figma: formats, fallbacks, and treatments

How the file type icon set is built and where it earns its place, drawn at 40x40px in three treatments.

A file list is a wall of near-identical rows. The name is truncated, the date tells you nothing useful, and the thing people actually scan is the small shape on the left.

File type icons do that work: they tell you a row is a spreadsheet before you read a character of it. They show up in upload progress, attachment lists in messaging, document tables, and the confirmation state after a drag and drop, which is exactly where a generic gray rectangle would waste everybody’s time.

Every extension you are likely to render

The set is one component with 153 variants, and the File type property is where the coverage sits. Documents run PDF, DOC, DOCX, TXT, CSV, XLS, XLSX, PPT and PPTX. Images run IMG, JPG, JPEG, PNG, WebP, TIFF, GIF, SVG and EPS.

Media covers MP3, WAV, MP4, MPEG, AVI and MKV. Archives are ZIP and RAR. Development covers HTML, CSS, JS, JSON, XML, SQL, JAVA, RSS, EXE and DMG, and design files cover FIG, AI, PSD, INDD and AEP.

Every one is drawn at 40x40px, so a table row built around the icon holds its height whatever the upload turns out to be.

The fallback nobody remembers to design

Products receive files you did not plan for. Someone drops in a .heic from an iPhone, a .dwg from a CAD tool, or an extension invented last year.

The set includes a simple group of generic marks for exactly this: empty, folder, image, video, audio, PDF, document, spreadsheet and code, drawn as plain glyphs rather than labelled sheets. Map your unknown extensions to those and the file browser degrades quietly instead of showing a blank tile. Deciding the fallback once, in the design file, saves an argument later about what a .dwg looks like in a file uploader.

Three treatments, one decision per surface

Each format exists as Default, Gray and Solid. Default is a white sheet with a folded corner and a colored chip carrying the extension. Gray drops the color entirely. Solid fills the whole sheet in the format’s color with the extension knocked out in white.

Pick one treatment per surface rather than per file. Gray earns its place in dense document tables where the icon should not compete with the filename, and Solid works when the file is the subject of the screen, like an upload confirmation or a single attachment card. Because the treatment is a variant property, switching a whole screen is a dropdown, which Figma’s variants documentation walks through if you are building something similar yourself.

The icon repeats the filename, so hide it

In a file list the icon and the text next to it say the same thing. That makes the icon decorative in markup, and it should be skipped by screen readers rather than announced as another PDF, per the W3C tutorial on functional images. The exception is a card where the extension appears nowhere in the text, at which point the icon is carrying real information and needs it spelled out.

Colored file icons also make a weak status signal. If an upload has failed, say so in the row, not by tinting a sheet of paper red.

The same icons exist outside Figma. Untitled UI file type icons are also published as SVG files and React components at untitledui.com/resources/file-icons, so the icon in the prototype is the icon that ships and no one is redrawing a DOCX sheet in the front end.

FAQs

Frequently asked questions

Common questions about the Untitled UI Figma file type icons, covering formats, fallbacks, and treatments.

What size should a file type icon be in a list?

These are drawn at 40x40px, which suits an upload row or an attachment card with a filename and a size underneath.

For a dense table where rows are 44 or 48px tall, place the same icon at 32px or 24px so it does not set the row height on its own. Keep one size per surface; two sizes in a single list reads as a bug.

What should I show for a file type I do not have an icon for?

Fall back to the generic mark for the closest family, which this set provides as simple image, video, audio, document, spreadsheet and code glyphs, plus an empty sheet for anything genuinely unknown.

Never render nothing. A blank space in a file list reads as a loading failure, and users retry uploads that already worked.

Should the icon show the extension text or just a shape?

Show the extension when the difference matters to the user, which is most of the time in document tools where XLS and XLSX behave differently.

Use the plain shape when you are grouping by family, in a filter chip or an empty state. This set gives you both, so the choice is a variant swap rather than a design exercise.

Are these file type icons included in the free version?

The file type icon set is part of the paid Untitled UI Figma kit. See pricing for what is included.

The 100% free Figma UI kit covers core components from the same system if you want to work with the file before deciding.

Is there a React version of these file type icons?

Yes. The set is published as React components and raw SVGs at untitledui.com/resources/file-icons, alongside the Figma library.

Copy a single icon’s code from the page when you only need one format, or take the whole library when you are building a file manager and will eventually need all of them.

Figma UI components

Application UI/Dashboard examples

Dashboard, settings, form layouts—useful examples for everything you need to design modern dashboards and products.
Figma UI components

Application UI/Dashboard Figma components

Modals, tables, alerts—everything you need to design modern and beautiful apps, dashboards and products.
Figma UI components

Marketing website components

Landing page header and website sections—everything you need to design modern and responsive marketing websites.
The ultimate UI kit for Figma

What is Untitled UI?

Untitled UI Figma is the largest UI kit and design system for Figma in the world. Here's everything great about Untitled UI in just 60 seconds.
Play icon
Untitled UI in 60 seconds
Play icon
Pause icon
Join 380,000+ designers from the world's top companies
Gumroad 5 stars

Untitled UI is the best $ I've spent on my business in a long time. I'm going to keep using it and recommending it to every designer I know.

Sam Pierce Lolla
Sam Pierce Lolla
Founder, Shuffleboard
Star iconStar iconStar iconStar iconStar icon
Gumroad 5 stars

Over the years we've featured hundreds of UI kits on UXCrush, but Untitled UI is by far the most comprehensive and detailed I've seen yet. A must have for any designer!

Luca Vavassori
Luca Vavassori
Founder, UXCrush
Star iconStar iconStar iconStar iconStar icon
Gumroad 5 stars

I've used all UI kits on the market. I can say without a doubt that the Untitled UI kit is the best on the market. It covers everything a designer needs in a modern and efficient way.

Murat Alpay
Murat Alpay
Product Designer, @imuratalpay
Star iconStar iconStar iconStar iconStar icon
Gumroad 5 stars

Incredible, and keeps getting better. I’ve tried dozens of UI kits and Untitled UI is the only name you should care about. It stands head and shoulders above the rest.

Jérémy Franck
Jérémy Franck
Designer, @jrmyfranck
Star iconStar iconStar iconStar iconStar icon
Gumroad 5 stars

Such a beautiful, detailed, and extensive UI kit. Untitled UI is the perfect foundation for any project. I highly recommend this huge time saver.

Adham Dannaway
Adham Dannaway
Product Designer, Practical UI
Star iconStar iconStar iconStar iconStar icon
Gumroad 5 stars

Untitled UI has been an amazing resource that I'm learning to rely upon to spin up ideas in no time. I think I might launch a startup pretty soon by mistake here!

Ricardo Buzzotta
Riccardo Buzzotta
Senior Product Designer, Spotify
Star iconStar iconStar iconStar iconStar icon
Gumroad 5 stars

The sheer scale, details, and organization of this kit is mind-blowing. It covers nearly everything a Designer could need in a modern, efficient and systematic way.

Corey Moen
Corey Moen
Senior Brand Designer, Webflow
Star iconStar iconStar iconStar iconStar icon
Gumroad 5 stars

I'm super impressed with this. I love poking around in other peoples UI Kits to see how they think. This is probably one of the most comprehensive I've seen.

Matt Walker
Matt Walker
Design Systems, Mailchimp
Star iconStar iconStar iconStar iconStar icon
Gumroad 5 stars

I'm super excited to use this for quick mockups of ideas in Figma. We're always trying to streamline our design process so we can move fast! Definitely recommend.

Jenny Chu
Jenny Chu
Head of Product, Eucalyptus
Star iconStar iconStar iconStar iconStar icon
Gumroad 5 stars

Untitled UI is easily the best UI kit I've used so far. It has an insane amount of components that are all incredibly well-built. I don't even know how many hours this will save.

Sunny Trochaniak
Sunny Trochaniak
Founder, NewPulse Labs
Star iconStar iconStar iconStar iconStar icon
Gumroad 5 stars

The attention to detail and thought Jordan has put into this UI kit is unparalleled.

Dan Mcleay
Dan Mcleay
Lead Designer, Fox Sports
Star iconStar iconStar iconStar iconStar icon
Gumroad 5 stars

Untitled UI is incredibly well-organized and the attention to detail is great. I highly recommend this kit to any designer that wants to create beautiful designs fast.

Tom Bekkers
Tom Bekkers
Founder & Creative Director, Flowbase
Star iconStar iconStar iconStar iconStar icon
Gumroad 5 stars

What an awesome Figma kit... it's an absolute game changer. This is the perfect base for any design system. The size and attention to detail is next level.

Dan Anisse
Dan Anisse
Co-founder, Relume
Star iconStar iconStar iconStar iconStar icon
Gumroad 5 stars

We've been using Untitled to build Himalayas 2.0 and have finished a complete redesign in just a few days. It has everything we need already pixel-perfect.

Abi Tyas Tunggal
Abi Tyas Tunggal
Co-founder, Himalayas
Star iconStar iconStar iconStar iconStar icon