Customize the Chrome
Make the editor feel like part of your product. config.ui controls the topbar
title and the close/back button so the frame matches the surrounding experience.
When to use this
- You want the editor's title to read your product name instead of "Photo Editor".
- The editor opens inside a multi-step flow, so a back arrow fits better than a close X.
- You're embedding in a surface that already has a header and want to hide the title.
Configure the chrome
<ImageEditor
src="/photo.jpg"
onClose={() => history.back()}
config={{
ui: {
title: "Photo Studio",
showTitle: true,
showCloseButton: true,
showBackButton: true,
},
}}
/>
title— topbar text (defaults to the localized "Photo Editor").showTitle— setfalseto hide the title.showCloseButton— defaults totruewheneveronCloseis provided.showBackButton— render a back arrow (labelled "Back") instead of the X.
Try it
This editor shows a custom title:
Photo Studio
Loading...
Loading image...Next steps
- Export & Save — close the editor automatically after export.
- Customize the Theme — match brand colors and radius.
- Localize the UI — translate the title and every other label.
Verified by
tests/guides/customize-chrome.spec.tsxin the@editx/image-editorpackage.