docs.rodeo

MDN Web Docs mirror

short_name

{{QuickLinksWithSubpages("/en-US/docs/Web/Progressive_web_apps/Manifest/Reference")}} 

The short_name 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.

Syntax

/* Short names of web apps */
"short_name": "TaskPlanner"
"short_name": "RecipePantry"

Values

Description

Browsers may use short_name in place of 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:

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:

"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

{{Specifications}} 

Browser compatibility

{{Compat}} 

See also

In this article

View on MDN