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-twalnr-coxfpv-ex-2b6790d098c5-el-86{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-twalnr-coxfpv-ex-2b6790d098c5-el-86 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-twalnr-coxfpv-ex-2b6790d098c5-el-86" data-node="ex-2b6790d098c5-el-86" 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-1lzeehj-tk7s2b-ex-8f69f9580139-el-89{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1lzeehj-tk7s2b-ex-8f69f9580139-el-89 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1lzeehj-tk7s2b-ex-8f69f9580139-el-89" data-node="ex-8f69f9580139-el-89" 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-199kqz7-10rvopf-ex-eb9207b74603-el-92{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-199kqz7-10rvopf-ex-eb9207b74603-el-92 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-199kqz7-10rvopf-ex-eb9207b74603-el-92" data-node="ex-eb9207b74603-el-92" 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-pgfvsf-1uhgdzn-ex-76a0eb5cda03-el-95{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-pgfvsf-1uhgdzn-ex-76a0eb5cda03-el-95 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-pgfvsf-1uhgdzn-ex-76a0eb5cda03-el-95" data-node="ex-76a0eb5cda03-el-95" 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-1nt09rf-18vuq8j-ex-478f8f306814-el-98{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1nt09rf-18vuq8j-ex-478f8f306814-el-98 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1nt09rf-18vuq8j-ex-478f8f306814-el-98" data-node="ex-478f8f306814-el-98" 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.