# React Starter Template \[cross-post\]

**URL:** <https://forums.creativeclouddeveloper.com/t/react-starter-template-cross-post/3146>\
**Category:** UXP Plugin API\
**Created:** [June 22, 2021, 6:27am UTC](https://forums.creativeclouddeveloper.com/t/react-starter-template-cross-post/3146 "2021-06-22T06:27:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thejustinwalsh](https://avatars.discourse-cdn.com/v4/letter/t/b9e5f3/32.png) [@thejustinwalsh](https://forums.creativeclouddeveloper.com/u/thejustinwalsh)\
**Post date:** [June 22, 2021, 6:27am UTC](https://forums.creativeclouddeveloper.com/t/react-starter-template-cross-post/3146/1 "2021-06-22T06:27:37Z")

</div>

👋Devs!

I’ve been hard at work creating a turn-key starter template for UXP plugins using React, and it is time to share!

I originally posted this over in the Photoshop UXP Plugin API section, though the majority of the work is UXP specific and not Photoshop specific so sharing here as well.

> **[GitHub - thejustinwalsh/uxp-starter-react: Complete starter for writing UXP plugins using...](https://github.com/thejustinwalsh/uxp-starter-react)**
>
> Complete starter for writing UXP plugins using React and Typescript.

This starter uses React, Babel, ES-lint, Prettier, and Webpack, pre-configured for both dev and production environments.

The example components included here use Typescript, but if you aren’t too keen on fighting with satisfying types, Babel is ready to transpile JSX w/ all your favorite ES6+ sugar.

Clone the repo, `npm install`, answer a few quick questions to configure your manifest, then run `npm run watch` to start a dev environment ready for launching in the UXP Developer Tool.

Use `npm run build` to create a production bundle then package with UXP Developer Tool to distribute.

Additionally, VS Code settings are included as well with extension recommendations to get up and running quicker.

The starter leans on these packages, so if the above loadout and tooling choices aren’t your style, grab `react-uxp-spectrum` for the react components and `uxp-types` for the TypeScript types.

> **[react-uxp-spectrum](https://www.npmjs.com/package/react-uxp-spectrum)**
>
> Adobe UXP Spectrum Web Components for React. Latest version: 0.1.10, last published: 3 years ago. Start using react-uxp-spectrum in your project by running \`npm i react-uxp-spectrum\`. There are no other projects in the npm registry using...

> **[uxp-types](https://www.npmjs.com/package/uxp-types)**
>
> Typescript definitions for the Adobe UXP API. Latest version: 0.1.3, last published: a year ago. Start using uxp-types in your project by running \`npm i uxp-types\`. There are no other projects in the npm registry using uxp-types.

I’ve tried to exercise all of the components in this starter for good coverage and start the project off with just a big panel of components.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/xdplugins/original/2X/1/1967dd774332b944f8bec1558306041569cdd0dc.jpeg)

If you find this useful, please give me some ⭐’s on GitHub, open issues when you find them, and contribute back if you find any rough spots.

I am using this template as my starter for some ongoing client work and updating as I run across any updates or improvements.

🚀Happy coding and UXP Plugin Development!
