Device Mockups
Responsive device frames with editable children
Five practical starting points. Explore a live example, then open its exact document in Studio.
Phone preview
Phone preview demonstrates responsive device frames with editable children. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { DemoAction, 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-12pu0k1-x5l1bn-ex-a03e9003747b-el-74{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-12pu0k1-x5l1bn-ex-a03e9003747b-el-74 \u003e *{width:100% !important}\n.sigma-export-12pu0k1-x5l1bn-ex-a03e9003747b-el-75{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-12pu0k1-x5l1bn-ex-a03e9003747b-el-75 \u003e *{width:100% !important}\n.sigma-export-12pu0k1-x5l1bn-ex-a03e9003747b-el-76{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-12pu0k1-x5l1bn-ex-a03e9003747b-el-76 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-12pu0k1-x5l1bn-ex-a03e9003747b-el-74" data-node="ex-a03e9003747b-el-74" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"DeviceMockup"} props={{"alt":"SigmaUI abstract workspace illustration","description":"A considered space for your next idea.","gap":16,"items":["Design|24","Build|48","Review|72"],"label":"Phone preview","padding":24,"src":"/elements/product.svg","text":"standard","title":"Phone preview","value":24}}>
<div className="sigma-node sigma-export-12pu0k1-x5l1bn-ex-a03e9003747b-el-75" data-node="ex-a03e9003747b-el-75" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Text"} props={{"text":"A workspace shaped around you."}} />
</div>
<div className="sigma-node sigma-export-12pu0k1-x5l1bn-ex-a03e9003747b-el-76" data-node="ex-a03e9003747b-el-76" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<DemoAction variant={"outline"} disabled={false} aria-busy={false}>
{"Explore the local demo"}
</DemoAction>
</div>
</ExtendedElement>
</div>
</div>
</SigmaUIProvider>
);
}
Tablet preview
Tablet preview demonstrates responsive device frames with editable children. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { DemoAction, 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-10k0cwh-kj1m43-ex-2ffeb424168a-el-77{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-10k0cwh-kj1m43-ex-2ffeb424168a-el-77 \u003e *{width:100% !important}\n.sigma-export-10k0cwh-kj1m43-ex-2ffeb424168a-el-78{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-10k0cwh-kj1m43-ex-2ffeb424168a-el-78 \u003e *{width:100% !important}\n.sigma-export-10k0cwh-kj1m43-ex-2ffeb424168a-el-79{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-10k0cwh-kj1m43-ex-2ffeb424168a-el-79 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-10k0cwh-kj1m43-ex-2ffeb424168a-el-77" data-node="ex-2ffeb424168a-el-77" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"16px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"DeviceMockup"} props={{"alt":"SigmaUI abstract workspace illustration","description":"Built for small teams doing meaningful work.","gap":16,"items":["Maya Chen|Online","Alex Rivera|Away"],"label":"Tablet preview","padding":16,"src":"/elements/product.svg","text":"compact","title":"Tablet preview","value":65}}>
<div className="sigma-node sigma-export-10k0cwh-kj1m43-ex-2ffeb424168a-el-78" data-node="ex-2ffeb424168a-el-78" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Text"} props={{"text":"A workspace shaped around you."}} />
</div>
<div className="sigma-node sigma-export-10k0cwh-kj1m43-ex-2ffeb424168a-el-79" data-node="ex-2ffeb424168a-el-79" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<DemoAction variant={"outline"} disabled={false} aria-busy={false}>
{"Explore the local demo"}
</DemoAction>
</div>
</ExtendedElement>
</div>
</div>
</SigmaUIProvider>
);
}
Laptop preview
Laptop preview demonstrates responsive device frames with editable children. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { DemoAction, 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-16aztf5-1n2733n-ex-8f45878c80cf-el-80{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-16aztf5-1n2733n-ex-8f45878c80cf-el-80 \u003e *{width:100% !important}\n.sigma-export-16aztf5-1n2733n-ex-8f45878c80cf-el-81{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-16aztf5-1n2733n-ex-8f45878c80cf-el-81 \u003e *{width:100% !important}\n.sigma-export-16aztf5-1n2733n-ex-8f45878c80cf-el-82{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-16aztf5-1n2733n-ex-8f45878c80cf-el-82 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-16aztf5-1n2733n-ex-8f45878c80cf-el-80" data-node="ex-8f45878c80cf-el-80" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"DeviceMockup"} props={{"alt":"SigmaUI abstract workspace illustration","description":"Your workspace, with everything in reach.","gap":16,"items":["Overview|Start here","Projects|Your recent work","Settings|Preferences"],"label":"Laptop preview","padding":24,"src":"/elements/product.svg","text":"detailed","title":"Laptop preview","value":82}}>
<div className="sigma-node sigma-export-16aztf5-1n2733n-ex-8f45878c80cf-el-81" data-node="ex-8f45878c80cf-el-81" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Text"} props={{"text":"A workspace shaped around you."}} />
</div>
<div className="sigma-node sigma-export-16aztf5-1n2733n-ex-8f45878c80cf-el-82" data-node="ex-8f45878c80cf-el-82" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<DemoAction variant={"outline"} disabled={false} aria-busy={false}>
{"Explore the local demo"}
</DemoAction>
</div>
</ExtendedElement>
</div>
</div>
</SigmaUIProvider>
);
}
Browser frame
Browser frame demonstrates responsive device frames with editable children. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { DemoAction, 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-1bo5ac1-15q5bg3-ex-e825fd469bba-el-83{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1bo5ac1-15q5bg3-ex-e825fd469bba-el-83 \u003e *{width:100% !important}\n.sigma-export-1bo5ac1-15q5bg3-ex-e825fd469bba-el-84{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1bo5ac1-15q5bg3-ex-e825fd469bba-el-84 \u003e *{width:100% !important}\n.sigma-export-1bo5ac1-15q5bg3-ex-e825fd469bba-el-85{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1bo5ac1-15q5bg3-ex-e825fd469bba-el-85 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1bo5ac1-15q5bg3-ex-e825fd469bba-el-83" data-node="ex-e825fd469bba-el-83" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"32px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"DeviceMockup"} props={{"alt":"SigmaUI abstract workspace illustration","description":"Clear information. Confident decisions.","gap":16,"items":["First milestone|12 Oct","Second milestone|14 Oct","Launch|18 Oct"],"label":"Browser frame","padding":32,"src":"/elements/product.svg","text":"featured","title":"Browser frame","value":40}}>
<div className="sigma-node sigma-export-1bo5ac1-15q5bg3-ex-e825fd469bba-el-84" data-node="ex-e825fd469bba-el-84" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Text"} props={{"text":"A workspace shaped around you."}} />
</div>
<div className="sigma-node sigma-export-1bo5ac1-15q5bg3-ex-e825fd469bba-el-85" data-node="ex-e825fd469bba-el-85" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<DemoAction variant={"outline"} disabled={false} aria-busy={false}>
{"Explore the local demo"}
</DemoAction>
</div>
</ExtendedElement>
</div>
</div>
</SigmaUIProvider>
);
}
Watch preview
Watch preview demonstrates responsive device frames with editable children. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { DemoAction, 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-cwjhu5-1vpfy7n-ex-f93a0e96ccbc-el-86{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-cwjhu5-1vpfy7n-ex-f93a0e96ccbc-el-86 \u003e *{width:100% !important}\n.sigma-export-cwjhu5-1vpfy7n-ex-f93a0e96ccbc-el-87{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-cwjhu5-1vpfy7n-ex-f93a0e96ccbc-el-87 \u003e *{width:100% !important}\n.sigma-export-cwjhu5-1vpfy7n-ex-f93a0e96ccbc-el-88{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-cwjhu5-1vpfy7n-ex-f93a0e96ccbc-el-88 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-cwjhu5-1vpfy7n-ex-f93a0e96ccbc-el-86" data-node="ex-f93a0e96ccbc-el-86" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"12px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"DeviceMockup"} props={{"alt":"SigmaUI abstract workspace illustration","description":"Make room for what matters.","gap":16,"items":["Getting started|A thoughtful beginning"],"label":"Watch preview","padding":12,"src":"/elements/product.svg","text":"minimal","title":"Watch preview","value":100}}>
<div className="sigma-node sigma-export-cwjhu5-1vpfy7n-ex-f93a0e96ccbc-el-87" data-node="ex-f93a0e96ccbc-el-87" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Text"} props={{"text":"A workspace shaped around you."}} />
</div>
<div className="sigma-node sigma-export-cwjhu5-1vpfy7n-ex-f93a0e96ccbc-el-88" data-node="ex-f93a0e96ccbc-el-88" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<DemoAction variant={"outline"} disabled={false} aria-busy={false}>
{"Explore the local demo"}
</DemoAction>
</div>
</ExtendedElement>
</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.