---
url: "https://web.dev/articles/add-manifest-react"
titulek: "Add a web app manifest with Create React App | Articles | web.dev"
h1: "Add a web app manifest with Create React App Stay organized with collections Save and categorize content based on your preferences."
popis: "Create React App includes a web app manifest by default. Modifying this file will allow you to change how your application is displayed when installed on the user's device."
jazyk: "en"
kanonicka: "https://web.dev/articles/add-manifest-react"
drobecky: ["Articles", "Add a web app manifest with Create React App"]
zdroj: "live"
wayback_snapshot: ""
stazeno: "2026-09-13 23:13:53"
znaku: 2854
slov: 410
kodovani: "iso-8859-2"
sha256: "97a7787895add8b90905b215b66d2498ebb597a8a6955f04f1db45cbd46af97e"
---
Add a web app manifest with Create React App
Stay organized with collections
Save and categorize content based on your preferences.
A web app manifest is included into Create React App by default and allows anyone to install your React application on their device.
Houssein Djirdeh
Create React App (CRA) includes a web app manifest by default. Modifying this
file will allow you to change how your application is displayed when installed
on the user's device. Why is this useful? Web app manifest files provide the capability to change how an installed
application will look like on the user's desktop or mobile device. By modifying
properties in the JSON file, you can modify a number of details in your
application, including its: Name Description App icon Theme color The [MDN documentation](https://developer.mozilla.org/docs/Web/Manifest)
covers all the properties that can be changed in detail. Modify the default manifest In CRA, a default manifest file, `/public/manifest.json` is included automatically when a new app is created: `{ "short_name": "React App", "name": "Create React App Sample", "icons": [ { "src": "favicon.ico", "sizes": "64x64 32x32 24x24 16x16", "type": "image/x-icon" }, { "src": "logo192.png", "type": "image/png", "sizes": "192x192" }, { "src": "logo512.png", "type": "image/png", "sizes": "512x512" } ], "start_url": ".", "display": "standalone", "theme_color": "#000000", "background_color": "#ffffff" }` This allows anybody to install the application on their device and see some
default details of the application. The HTML file, `public/index.html`, also
includes a `` element to load the manifest. `` To find out if all the properties are working correctly in this example: Press `Control+Shift+J` (or `Command+Option+J` on Mac) to open DevTools. Click the **Application** tab. In the **Application** panel, click the **Manifest** tab. Conclusion If you're building a site that you think does not need to be installed on a
device, remove the manifest and the `` element in the HTML file that
points to it. If you would like users to install the application on their device, modify
the manifest file (or create one if you are not using CRA) with any
properties that you like. The
[MDN documentation](https://developer.mozilla.org/docs/Web/Manifest)
explains all the required and optional attributes. Except as otherwise noted, the content of this page is licensed under the [Creative Commons Attribution 4.0 License](https://creativecommons.org/licenses/by/4.0/), and code samples are licensed under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0). For details, see the [Google Developers Site Policies](https://developers.google.com/site-policies). Java is a registered trademark of Oracle and/or its affiliates. Last updated 2019-04-29 UTC.