Reduce the risk of misprints and speed up validation process thanks to design validation. Automatic error notifications will let you know if the design is not print-ready. Built with CE.SDK by IMG.LY, runs entirely in the browser with no server dependencies.
git clone https://github.com/imgly/starterkit-design-validation-react-web.git
cd starterkit-design-validation-react-webnpm installCE.SDK requires engine assets (fonts, icons, UI elements) served from your public/ directory.
curl -O https://cdn.img.ly/packages/imgly/cesdk-js/$UBQ_VERSION$/imgly-assets.zip
unzip imgly-assets.zip -d public/
rm imgly-assets.zipnpm run devOpen http://localhost:5173 in your browser.
Load content into the editor using one of these methods:
// Create a blank design canvas
await cesdk.createDesignScene();
// Load from a template archive
await cesdk.loadFromArchiveURL('https://example.com/template.zip');
// Load from a scene file
await cesdk.loadFromURL('https://example.com/scene.json');
// Load from an image
await cesdk.createFromImage('https://example.com/image.jpg');See Open the Editor for all loading methods.
cesdk.ui.setTheme('dark'); // 'light' | 'dark' | 'system'See Theming for custom color schemes and styling.
cesdk.i18n.setTranslations({
de: { 'common.save': 'Speichern' }
});
cesdk.i18n.setLocale('de');See Localization for supported languages and translation keys.
src/
├── app/ # Demo application
├── imgly/
│ ├── config/
│ │ ├── actions.ts # Export/import actions
│ │ ├── features.ts # Feature toggles
│ │ ├── i18n.ts # Translations
│ │ ├── plugin.ts # Main configuration plugin
│ │ ├── settings.ts # Engine settings
│ │ └── ui/
│ │ ├── canvas.ts # Canvas configuration
│ │ ├── components.ts # Custom component registration
│ │ ├── dock.ts # Dock layout configuration
│ │ ├── index.ts # Combines UI customization exports
│ │ ├── inspectorBar.ts # Inspector bar layout
│ │ ├── navigationBar.ts # Navigation bar layout
│ │ └── panel.ts # Panel configuration
│ ├── index.ts # Editor initialization function
│ ├── types.ts # TypeScript type definitions
│ ├── utils.ts # Utility functions
│ └── validation.ts
└── index.tsx # Application entry point
- Outside Page Detection – Identify elements completely outside page bounds
- Protrusion Detection – Find elements partially extending beyond the page
- Hidden Text Detection – Detect text obscured by overlapping elements
- Image Resolution Check – Validate image quality for print/export
- Real-Time Validation – Results update automatically as you edit
- Interactive Selection – Click validation results to select affected elements
- Node.js v20+ with npm – Download
- Supported browsers – Chrome 114+, Edge 114+, Firefox 115+, Safari 15.6+
| Issue | Solution |
|---|---|
| Editor doesn't load | Verify assets are accessible at baseURL |
| Assets don't appear | Check public/assets/ directory exists |
| Watermark appears | Add your license key |
For complete integration guides and API reference, visit the Design Validation Editor Documentation.
This project is licensed under the MIT License - see the LICENSE file for details.
