Photo UI is equipped with advanced photo editing options while remaining easy and intuitive to use. Try the demo and see for yourself.

Pre-requisites#
This guide assumes basic familiarity with React and TypeScript.
- Node.js v22+ with npm – Download
- Supported browsers – Chrome 114+, Edge 114+, Firefox 115+, Safari 15.6+
See Browser Support for the full list
Get Started#
Start fresh with a standalone Photo Editor project. This creates a complete, ready-to-run application with a custom React-based interface.
Step 1: Clone the Repository#
git clone https://github.com/imgly/starterkit-photo-ui-react-web.git
cd starterkit-photo-ui-react-webgit clone https://github.com/imgly/starterkit-photo-ui-react-web.git
cd starterkit-photo-ui-react-webnpx degit imgly/starterkit-photo-ui-react-web starterkit-photo-ui-react-web
cd starterkit-photo-ui-react-webnpx degit imgly/starterkit-photo-ui-react-web starterkit-photo-ui-react-web
cd starterkit-photo-ui-react-webThe src/ folder contains the editor code:
src/├── app/ # Demo application├── imgly/│ ├── index.ts # Editor initialization function│ ├── demo-assets.ts # Demo asset URLs│ ├── crop-math.ts # Crop calculations│ ├── engine-utils.ts # Engine helpers│ ├── photo-scene.ts # Photo scene setup│ └── upload.ts # Image upload helpers└── index.tsx # Application entry pointStep 2: Install Dependencies#
Install the required packages:
npm installnpm installpnpm installpnpm installyarnyarnStep 3: Run the Development Server#
npm run devnpm run devpnpm run devpnpm run devyarn devyarn devOpen http://localhost:5173 in your browser.
Key Capabilities#
The Photo Editor includes everything needed for professional photo editing.
Professional Filters
Apply color grading with LUT filters and set the filter intensity with a slider.
Color Adjustments
Fine-tune brightness, contrast, saturation, and more with professional controls.
Cropping & Transform
Crop, rotate, and transform images with precise controls and aspect ratio presets.
Responsive Design
Interface optimized for both desktop and mobile devices with adaptive layouts.
Export Options
Export the edited photo as a JPEG file with one click.
Troubleshooting#
Editor doesn’t load#
- Check console errors: Look for CORS or network errors in browser developer tools
- Verify dependencies: Ensure all npm packages are installed correctly
Assets don’t appear#
- Check network requests: Open DevTools Network tab and look for failed requests
- Check the asset location: The starter kit sets no
baseURL, so the editor loads its assets from the IMG.LY CDN. To host them yourself, see Serve Assets
Watermark appears in production#
- Add your license key: Set the
licenseproperty in your configuration - Get a license: Contact us at img.ly/forms/contact-sales/
Next Steps#
- Configuration – Complete list of initialization options
- Serve Assets – Self-host engine assets for production
- Theming – Customize colors and appearance
- Localization – Add translations and language support