Images
Local image presentation and alternatives
Five practical starting points. Explore a live example, then open its exact document in Studio.
Landscape image
Landscape image demonstrates local image presentation and alternatives. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { ExtendedElement, SigmaUIProvider } from "sigmaui";
import type { TrustedBindings } from "sigmaui";
import "sigmaui/styles.css";
// Supply trusted action callbacks and pricing data from the host application.
// Images retain validated asset URLs. Importing handwritten JSX into Studio is unsupported.
export default function Page({ bindings = {} }: { bindings?: TrustedBindings }) {
return (
<SigmaUIProvider style={{ containerType: "inline-size" }} theme="minimal" mode="light">
<style>{".sigma-export-us2wxv-1l2hgpf-ex-125d544afca0-el-41{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-us2wxv-1l2hgpf-ex-125d544afca0-el-41 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-us2wxv-1l2hgpf-ex-125d544afca0-el-41" data-node="ex-125d544afca0-el-41" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Image"} props={{"alt":"SigmaUI abstract workspace illustration","gap":16,"items":["Design|24","Build|48","Review|72"],"label":"Landscape image","padding":24,"src":"/elements/product.svg","text":"standard","title":"Landscape image","value":24}} />
</div>
</div>
</SigmaUIProvider>
);
}
Product crop
Product crop demonstrates local image presentation and alternatives. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { ExtendedElement, SigmaUIProvider } from "sigmaui";
import type { TrustedBindings } from "sigmaui";
import "sigmaui/styles.css";
// Supply trusted action callbacks and pricing data from the host application.
// Images retain validated asset URLs. Importing handwritten JSX into Studio is unsupported.
export default function Page({ bindings = {} }: { bindings?: TrustedBindings }) {
return (
<SigmaUIProvider style={{ containerType: "inline-size" }} theme="minimal" mode="light">
<style>{".sigma-export-1cq1tj3-u5e3tf-ex-cb611865451e-el-44{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1cq1tj3-u5e3tf-ex-cb611865451e-el-44 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1cq1tj3-u5e3tf-ex-cb611865451e-el-44" data-node="ex-cb611865451e-el-44" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"16px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Image"} props={{"alt":"SigmaUI abstract workspace illustration","gap":16,"items":["Maya Chen|Online","Alex Rivera|Away"],"label":"Product crop","padding":16,"src":"/elements/product.svg","text":"compact","title":"Product crop","value":65}} />
</div>
</div>
</SigmaUIProvider>
);
}
Portrait image
Portrait image demonstrates local image presentation and alternatives. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { ExtendedElement, SigmaUIProvider } from "sigmaui";
import type { TrustedBindings } from "sigmaui";
import "sigmaui/styles.css";
// Supply trusted action callbacks and pricing data from the host application.
// Images retain validated asset URLs. Importing handwritten JSX into Studio is unsupported.
export default function Page({ bindings = {} }: { bindings?: TrustedBindings }) {
return (
<SigmaUIProvider style={{ containerType: "inline-size" }} theme="minimal" mode="light">
<style>{".sigma-export-oj1co3-11mayz7-ex-c02b290e90bc-el-47{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-oj1co3-11mayz7-ex-c02b290e90bc-el-47 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-oj1co3-11mayz7-ex-c02b290e90bc-el-47" data-node="ex-c02b290e90bc-el-47" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Image"} props={{"alt":"SigmaUI abstract workspace illustration","gap":16,"items":["Overview|Start here","Projects|Your recent work","Settings|Preferences"],"label":"Portrait image","padding":24,"src":"/elements/product.svg","text":"detailed","title":"Portrait image","value":82}} />
</div>
</div>
</SigmaUIProvider>
);
}
Figure caption
Figure caption demonstrates local image presentation and alternatives. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { ExtendedElement, SigmaUIProvider } from "sigmaui";
import type { TrustedBindings } from "sigmaui";
import "sigmaui/styles.css";
// Supply trusted action callbacks and pricing data from the host application.
// Images retain validated asset URLs. Importing handwritten JSX into Studio is unsupported.
export default function Page({ bindings = {} }: { bindings?: TrustedBindings }) {
return (
<SigmaUIProvider style={{ containerType: "inline-size" }} theme="minimal" mode="light">
<style>{".sigma-export-t8hehv-180ogb7-ex-edac406707c9-el-50{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-t8hehv-180ogb7-ex-edac406707c9-el-50 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-t8hehv-180ogb7-ex-edac406707c9-el-50" data-node="ex-edac406707c9-el-50" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"32px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Image"} props={{"alt":"SigmaUI abstract workspace illustration","description":"Figure 01. An abstract composition from the SigmaUI design library.","gap":16,"items":["First milestone|12 Oct","Second milestone|14 Oct","Launch|18 Oct"],"label":"Figure caption","padding":32,"src":"/elements/product.svg","text":"featured","title":"Figure caption","value":40}} />
</div>
</div>
</SigmaUIProvider>
);
}
Responsive image
Responsive image demonstrates local image presentation and alternatives. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { ExtendedElement, SigmaUIProvider } from "sigmaui";
import type { TrustedBindings } from "sigmaui";
import "sigmaui/styles.css";
// Supply trusted action callbacks and pricing data from the host application.
// Images retain validated asset URLs. Importing handwritten JSX into Studio is unsupported.
export default function Page({ bindings = {} }: { bindings?: TrustedBindings }) {
return (
<SigmaUIProvider style={{ containerType: "inline-size" }} theme="minimal" mode="light">
<style>{".sigma-export-1couzrf-14mit3n-ex-2021bc955625-el-53{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1couzrf-14mit3n-ex-2021bc955625-el-53 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1couzrf-14mit3n-ex-2021bc955625-el-53" data-node="ex-2021bc955625-el-53" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"12px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Image"} props={{"alt":"SigmaUI abstract workspace illustration","gap":16,"items":["Getting started|A thoughtful beginning"],"label":"Responsive image","padding":12,"src":"/elements/product.svg","text":"minimal","title":"Responsive image","value":100}} />
</div>
</div>
</SigmaUIProvider>
);
}
Protected properties
binding, id, type, version, role, intent. Trusted host bindings remain protected.
Composition & accessibility
Supports editable children in its default slot. Use meaningful labels and a logical heading hierarchy. Interactive submissions are simulated locally.