---
title: name
framework: swift-package-manager
role: symbol
role_heading: Instance Property
path: swift-package-manager/documentation/packageplugin/product/name
---

# name

The name of the product, as defined in the package manifest.

## Declaration

```swift
var name: String { get }
```

## Discussion

Discussion This name is unique among the products of the package in which it is defined.

## See Also

### Inspecting a Package Product

- [id](swift-package-manager/documentation/packageplugin/product/id-swift.property.md)
- [sourceModules](swift-package-manager/documentation/packageplugin/product/sourcemodules.md)
- [targets](swift-package-manager/documentation/packageplugin/product/targets.md)
- [Product.ID](swift-package-manager/documentation/packageplugin/product/id-swift.typealias.md)
