s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All UI components

Images · Components

ImageEditor

Resize, crop, convert, and AI-edit an image with derivative tracking

Public export

typescript
import { ImageEditor } from '@happyvertical/smrt-images/svelte';
Import path
@happyvertical/smrt-images/svelte
Props
5
Props described
0 of 5
Bindable state
0
Callback events
2
Verified release
0.44.0

Props

NameTypeRequiredDescription
imageImageLike | nullNoNot described
apiBaseUrlstringNoNot described
clientImageEditorClientNoNot described
onSave(image: ImageLike) => voidNoNot described
onCancel() => voidNoNot described

Bindable state

This component has no bindable public state.

Callback events

  • onSave(image: ImageLike) => void
  • onCancel() => void

Examples and explanation