GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

short_name

The shortname manifest member is used to specify a short name for your web application, which may be used when the full name is too long for the available space.

The `short_name` manifest member is used to specify a short name for your web application, which may be used when the full [`name`](/docs/Web/Progressive_web_apps/Manifest/Reference/name) is too long for the available space.

## Syntax

```json-nolint
/* Short names of web apps */
"short_name": "TaskPlanner"
"short_name": "RecipePantry"
```

### Values

- `short_name`
- : A string that specifies a short version of your web app's [`name`](/docs/Web/Progressive_web_apps/Manifest/Reference/name).

## Description

Browsers may use `short_name` in place of [`name`](/docs/Web/Progressive_web_apps/Manifest/Reference/name) when there is insufficient space to display the full name, such as on a device's home screen, in the application switcher, or in other space-constrained contexts.

Keep the following points in mind when selecting a short name for your web app:

- It should be a concise version of your app's `name`.
- While aiming for brevity, it should still be recognizable and meaningful.
- Consider how it will appear in space-constrained contexts.
- Follow the same guidelines for cultural sensitivity and trademark as for `name`.

## Examples

### Adding a short name for your web app

Consider a web app that helps users plan and log their hiking adventures. The `name` has been defined as `Trail Navigator`. A `short_name` can be added to the manifest as follows:

```json
{
"name": "Trail Navigator",
"short_name": "TrailNav"
}
```

The app's shorter name `TrailNav` is concise and is suitable for limited space contexts. It maintains a connection to the app's full name and is easy to remember.

## Specifications

## Browser compatibility

## See also

- [`name`](/docs/Web/Progressive_web_apps/Manifest/Reference/name) manifest member
- [The web app manifest](/docs/Web/Progressive_web_apps/Guides/Making_PWAs_installable#the_web_app_manifest) for making your web app installable

source: MDN Web Docs mirror · page

Cite this

"short_name". MDN Web Docs. CC BY-SA 2.5 (MDN). https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Manifest/Reference/short_name

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·