---
title: "fileExporterFilenameLabel(_:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/view/fileexporterfilenamelabel(_:)"
---

# fileExporterFilenameLabel(_:)

On macOS, configures the fileExporter with a label for the file name field.

## Declaration

```swift
nonisolated func fileExporterFilenameLabel(_ label: LocalizedStringResource) -> some View

```

## Parameters

- `label`: The localized string resource to display.

## See Also

### Exporting to file

- [fileExporter(isPresented:document:contentType:defaultFilename:onCompletion:)](swiftui/view/fileexporter(ispresented:document:contenttype:defaultfilename:oncompletion:).md)
- [fileExporter(isPresented:documents:contentType:onCompletion:)](swiftui/view/fileexporter(ispresented:documents:contenttype:oncompletion:).md)
- [fileExporter(isPresented:document:contentType:defaultFilename:onCompletion:onCancellation:)](swiftui/view/fileexporter(ispresented:document:contenttype:defaultfilename:oncompletion:oncancellation:).md)
- [fileExporter(isPresented:document:contentTypes:defaultFilename:onCompletion:onCancellation:)](swiftui/view/fileexporter(ispresented:document:contenttypes:defaultfilename:oncompletion:oncancellation:).md)
- [fileExporter(isPresented:documents:contentTypes:onCompletion:onCancellation:)](swiftui/view/fileexporter(ispresented:documents:contenttypes:oncompletion:oncancellation:).md)
- [fileExporter(isPresented:item:contentTypes:defaultFilename:onCompletion:onCancellation:)](swiftui/view/fileexporter(ispresented:item:contenttypes:defaultfilename:oncompletion:oncancellation:).md)
- [fileExporter(isPresented:items:contentTypes:onCompletion:onCancellation:)](swiftui/view/fileexporter(ispresented:items:contenttypes:oncompletion:oncancellation:).md)
