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-19wsw5t-1agonqr-ex-3ff1b7b8af28-el-59{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-19wsw5t-1agonqr-ex-3ff1b7b8af28-el-59 \u003e *{width:100% !important}\n.sigma-export-19wsw5t-1agonqr-ex-3ff1b7b8af28-el-60{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-19wsw5t-1agonqr-ex-3ff1b7b8af28-el-60 \u003e *{width:100% !important}\n.sigma-export-19wsw5t-1agonqr-ex-3ff1b7b8af28-el-61{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-19wsw5t-1agonqr-ex-3ff1b7b8af28-el-61 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-19wsw5t-1agonqr-ex-3ff1b7b8af28-el-59" data-node="ex-3ff1b7b8af28-el-59" 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-19wsw5t-1agonqr-ex-3ff1b7b8af28-el-60" data-node="ex-3ff1b7b8af28-el-60" 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-19wsw5t-1agonqr-ex-3ff1b7b8af28-el-61" data-node="ex-3ff1b7b8af28-el-61" 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-1obvlwp-1gm8mur-ex-5509023de5c4-el-62{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1obvlwp-1gm8mur-ex-5509023de5c4-el-62 \u003e *{width:100% !important}\n.sigma-export-1obvlwp-1gm8mur-ex-5509023de5c4-el-63{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1obvlwp-1gm8mur-ex-5509023de5c4-el-63 \u003e *{width:100% !important}\n.sigma-export-1obvlwp-1gm8mur-ex-5509023de5c4-el-64{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1obvlwp-1gm8mur-ex-5509023de5c4-el-64 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1obvlwp-1gm8mur-ex-5509023de5c4-el-62" data-node="ex-5509023de5c4-el-62" 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-1obvlwp-1gm8mur-ex-5509023de5c4-el-63" data-node="ex-5509023de5c4-el-63" 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-1obvlwp-1gm8mur-ex-5509023de5c4-el-64" data-node="ex-5509023de5c4-el-64" 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-37oi05-1fzkjxv-ex-1af75e3aaa1f-el-65{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-37oi05-1fzkjxv-ex-1af75e3aaa1f-el-65 \u003e *{width:100% !important}\n.sigma-export-37oi05-1fzkjxv-ex-1af75e3aaa1f-el-66{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-37oi05-1fzkjxv-ex-1af75e3aaa1f-el-66 \u003e *{width:100% !important}\n.sigma-export-37oi05-1fzkjxv-ex-1af75e3aaa1f-el-67{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-37oi05-1fzkjxv-ex-1af75e3aaa1f-el-67 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-37oi05-1fzkjxv-ex-1af75e3aaa1f-el-65" data-node="ex-1af75e3aaa1f-el-65" 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-37oi05-1fzkjxv-ex-1af75e3aaa1f-el-66" data-node="ex-1af75e3aaa1f-el-66" 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-37oi05-1fzkjxv-ex-1af75e3aaa1f-el-67" data-node="ex-1af75e3aaa1f-el-67" 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-1vi7fbp-3b0mk3-ex-97449ad808ac-el-68{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1vi7fbp-3b0mk3-ex-97449ad808ac-el-68 \u003e *{width:100% !important}\n.sigma-export-1vi7fbp-3b0mk3-ex-97449ad808ac-el-69{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1vi7fbp-3b0mk3-ex-97449ad808ac-el-69 \u003e *{width:100% !important}\n.sigma-export-1vi7fbp-3b0mk3-ex-97449ad808ac-el-70{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1vi7fbp-3b0mk3-ex-97449ad808ac-el-70 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1vi7fbp-3b0mk3-ex-97449ad808ac-el-68" data-node="ex-97449ad808ac-el-68" 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-1vi7fbp-3b0mk3-ex-97449ad808ac-el-69" data-node="ex-97449ad808ac-el-69" 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-1vi7fbp-3b0mk3-ex-97449ad808ac-el-70" data-node="ex-97449ad808ac-el-70" 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-mo7gmh-ea9lkj-ex-2e57ce0fe0ae-el-71{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-mo7gmh-ea9lkj-ex-2e57ce0fe0ae-el-71 \u003e *{width:100% !important}\n.sigma-export-mo7gmh-ea9lkj-ex-2e57ce0fe0ae-el-72{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-mo7gmh-ea9lkj-ex-2e57ce0fe0ae-el-72 \u003e *{width:100% !important}\n.sigma-export-mo7gmh-ea9lkj-ex-2e57ce0fe0ae-el-73{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-mo7gmh-ea9lkj-ex-2e57ce0fe0ae-el-73 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-mo7gmh-ea9lkj-ex-2e57ce0fe0ae-el-71" data-node="ex-2e57ce0fe0ae-el-71" 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-mo7gmh-ea9lkj-ex-2e57ce0fe0ae-el-72" data-node="ex-2e57ce0fe0ae-el-72" 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-mo7gmh-ea9lkj-ex-2e57ce0fe0ae-el-73" data-node="ex-2e57ce0fe0ae-el-73" 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.