# 11.16 Give a tool Import and Export actions

> Chapter 11, Tools and editors. Section: Building a tool. Guide: https://www.designguide.dev/md/11-tools-and-editors.md#give-a-tool-import-and-export-actions

Default · Adapts

**Rule:** Give a tool an Import and an Export action, and name the file types each one takes and makes.

**Wide screen:** On a wide screen, also accept a dropped file, and show a drop zone while a file is over the window. (Triggers: Fine pointer, Width 840+)

**Why:** A named file type tells people at once whether a file fits.

- Show the name and size of each imported file.
- Show the start of a large file, and load the rest later.
- Drop zone: [Rule 13.10](https://www.designguide.dev/r/offer-a-button-first-then-a-drop-zone.md). Clean print and export: [Rule 13.14](https://www.designguide.dev/r/print-and-export-a-clean-page.md).

**Picture:** Size pair (Phone, 375; Window, 1280): Compact has 2 buttons and states the file types. The window adds a drop zone.

**See:** [13.10 Offer a button first, then a drop zone](https://www.designguide.dev/r/offer-a-button-first-then-a-drop-zone.md), [13.14 Print and export a clean page](https://www.designguide.dev/r/print-and-export-a-clean-page.md)
