2021-10-17 18:26:00 +02:00
|
|
|
---
|
|
|
|
title: name
|
|
|
|
---
|
2021-08-25 16:09:31 +02:00
|
|
|
|
2022-02-05 17:44:23 +01:00
|
|
|
The `name` key in the pattern configuration holds the name of your design.
|
|
|
|
|
|
|
|
## Structure
|
|
|
|
|
|
|
|
The value should hold a string that is also a [valid NPM package
|
|
|
|
name](https://github.com/npm/validate-npm-package-name).
|
|
|
|
|
|
|
|
## Example
|
|
|
|
|
2021-08-25 16:09:31 +02:00
|
|
|
```js
|
|
|
|
name: "sorcha"
|
|
|
|
```
|
|
|
|
|
2022-02-05 19:07:15 +01:00
|
|
|
In this example, the pattern is named **sorcha**.
|