File

Figma logo The guideline content on this page is synced with Figma and can be used as a source of truth. Open in Figma

This component is primarily used alongside the Upload feature to indicate that a file has been uploaded.

It can also be used on its own, but it should relate to the rest of the content on the page in terms of width.


Anatomy

  1. Heading
  2. Complementary link
  3. Description
  4. Drop zone
  5. Text
File component anatomy diagram showing heading, complementary link, description, drop zone and supporting text

States

  1. Default
  2. Loading
  3. Success
  4. Error
  5. Focused
  6. Hover

file_generated_3.jpeg

1 MB

file_generated_3.jpeg

file_generated_3.jpeg

file_generated_3.jpeg

Error text

file_generated_3.jpeg

1 MB

file_generated_3.jpeg

1 MB


Usage

File information is typically displayed directly below the Upload component immediately after the user interacts with it — either by selecting a file or once the upload is complete.

Drag and drop or click to upload

SVG, PNG, JPG or GIF (max 500mb)

file_generated_3.jpeg

1 MB

Hover icon

When hovering an icon, apply the same hover state styling used for our Icon Buttons. While the icon size may vary, the hover effect must remain consistent.

File row with the cursor hovering the trash icon button, showing the icon-button hover state

Accessibility

Keyboard interaction

The whole file row is reachable via TAB and SHIFT+TAB — focus lands on the row first, then on the trash icon (or any action button inside it). A focused row shows a blue keyboard-focus ring.

file_generated_3.jpeg

1 MB


Specs

File specifications showing dimensions, spacing and border-radius