Components
Components a theme places as they are: the editable-field wrappers the merchant's visual editor drives, and the editor's preview bridge. Sign-in, the account pages and checkout are not here — the platform renders them itself, the same on every theme.
EditableFieldclient
EditableField({ path, defaultValue, }: EditableFieldProps): JSX.Element
render an editable text value with live-preview support.
packages/theme-sdk/src/components/EditableField.tsx
EditableImageclient
EditableImage({ path, defaultSrc, alt, aspectRatio, width, height, className, style, ...rest }: EditableImageProps): JSX.Element
render an editable image with live-preview support.
packages/theme-sdk/src/components/EditableImage.tsx
EditableListclient
subscribe to a `list`-typed editable field and hand the live array to a render prop.
packages/theme-sdk/src/components/EditableList.tsx
EditableRichTextclient
EditableRichText({ path, defaultValue, className, style, }: EditableRichTextProps): JSX.Element
render an editable rich-text (HTML) value with live-preview support.
packages/theme-sdk/src/components/EditableRichText.tsx
PreviewBridgeclient
PreviewBridge({ editorOrigin }: PreviewBridgeProps): null
postMessage bridge + read-only canvas guard for the editor host.
packages/theme-sdk/src/components/PreviewBridge.tsx
Platform-only, not for themes: AddressBook, CheckoutForm, LoginForm, OrderList, RazorpayPayment, SubscriptionCard. The SDK exports them for the platform’s own sign-in, account and checkout pages; the build fails a theme that imports them. Link to those pages instead — see account pages.