Shadows
Elevation and surface hierarchy
Five practical starting points. Explore a live example, then open its exact document in Studio.
Resting surface
Resting surface demonstrates elevation and surface hierarchy. Edit content, composition and responsive styling in Studio.
Resting surface
A considered space for your next idea.
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-1hphcuh-1iky8ab-ex-be7785ea688f-el-11{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1hphcuh-1iky8ab-ex-be7785ea688f-el-11 \u003e *{width:100% !important}\n.sigma-export-1hphcuh-1iky8ab-ex-be7785ea688f-el-12{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1hphcuh-1iky8ab-ex-be7785ea688f-el-12 \u003e *{width:100% !important}\n.sigma-export-1hphcuh-1iky8ab-ex-be7785ea688f-el-13{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1hphcuh-1iky8ab-ex-be7785ea688f-el-13 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1hphcuh-1iky8ab-ex-be7785ea688f-el-11" data-node="ex-be7785ea688f-el-11" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Shadow"} props={{"alt":"SigmaUI abstract workspace illustration","description":"A considered space for your next idea.","gap":16,"items":["Design|24","Build|48","Review|72"],"label":"Resting surface","padding":24,"src":"/elements/product.svg","text":"standard","title":"Resting surface","value":24}}>
<div className="sigma-node sigma-export-1hphcuh-1iky8ab-ex-be7785ea688f-el-12" data-node="ex-be7785ea688f-el-12" 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-1hphcuh-1iky8ab-ex-be7785ea688f-el-13" data-node="ex-be7785ea688f-el-13" 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>
);
}
Floating surface
Floating surface demonstrates elevation and surface hierarchy. Edit content, composition and responsive styling in Studio.
Floating surface
Built for small teams doing meaningful work.
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-xnf2z5-1e2h8oj-ex-1b84fb81df60-el-14{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-xnf2z5-1e2h8oj-ex-1b84fb81df60-el-14 \u003e *{width:100% !important}\n.sigma-export-xnf2z5-1e2h8oj-ex-1b84fb81df60-el-15{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-xnf2z5-1e2h8oj-ex-1b84fb81df60-el-15 \u003e *{width:100% !important}\n.sigma-export-xnf2z5-1e2h8oj-ex-1b84fb81df60-el-16{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-xnf2z5-1e2h8oj-ex-1b84fb81df60-el-16 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-xnf2z5-1e2h8oj-ex-1b84fb81df60-el-14" data-node="ex-1b84fb81df60-el-14" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"16px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Shadow"} props={{"alt":"SigmaUI abstract workspace illustration","description":"Built for small teams doing meaningful work.","gap":16,"items":["Maya Chen|Online","Alex Rivera|Away"],"label":"Floating surface","padding":16,"src":"/elements/product.svg","text":"compact","title":"Floating surface","value":65}}>
<div className="sigma-node sigma-export-xnf2z5-1e2h8oj-ex-1b84fb81df60-el-15" data-node="ex-1b84fb81df60-el-15" 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-xnf2z5-1e2h8oj-ex-1b84fb81df60-el-16" data-node="ex-1b84fb81df60-el-16" 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>
);
}
Inset context
Inset context demonstrates elevation and surface hierarchy. Edit content, composition and responsive styling in Studio.
Inset context
Your workspace, with everything in reach.
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-o0t1zd-168qv03-ex-d28a46ff5a5d-el-17{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-o0t1zd-168qv03-ex-d28a46ff5a5d-el-17 \u003e *{width:100% !important}\n.sigma-export-o0t1zd-168qv03-ex-d28a46ff5a5d-el-18{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-o0t1zd-168qv03-ex-d28a46ff5a5d-el-18 \u003e *{width:100% !important}\n.sigma-export-o0t1zd-168qv03-ex-d28a46ff5a5d-el-19{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-o0t1zd-168qv03-ex-d28a46ff5a5d-el-19 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-o0t1zd-168qv03-ex-d28a46ff5a5d-el-17" data-node="ex-d28a46ff5a5d-el-17" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Shadow"} 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":"Inset context","padding":24,"src":"/elements/product.svg","text":"detailed","title":"Inset context","value":82}}>
<div className="sigma-node sigma-export-o0t1zd-168qv03-ex-d28a46ff5a5d-el-18" data-node="ex-d28a46ff5a5d-el-18" 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-o0t1zd-168qv03-ex-d28a46ff5a5d-el-19" data-node="ex-d28a46ff5a5d-el-19" 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>
);
}
Popover elevation
Popover elevation demonstrates elevation and surface hierarchy. Edit content, composition and responsive styling in Studio.
Popover elevation
Clear information. Confident decisions.
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-jrp2n1-1b7emsz-ex-4a114d640e83-el-20{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-jrp2n1-1b7emsz-ex-4a114d640e83-el-20 \u003e *{width:100% !important}\n.sigma-export-jrp2n1-1b7emsz-ex-4a114d640e83-el-21{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-jrp2n1-1b7emsz-ex-4a114d640e83-el-21 \u003e *{width:100% !important}\n.sigma-export-jrp2n1-1b7emsz-ex-4a114d640e83-el-22{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-jrp2n1-1b7emsz-ex-4a114d640e83-el-22 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-jrp2n1-1b7emsz-ex-4a114d640e83-el-20" data-node="ex-4a114d640e83-el-20" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"32px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Shadow"} 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":"Popover elevation","padding":32,"src":"/elements/product.svg","text":"featured","title":"Popover elevation","value":40}}>
<div className="sigma-node sigma-export-jrp2n1-1b7emsz-ex-4a114d640e83-el-21" data-node="ex-4a114d640e83-el-21" 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-jrp2n1-1b7emsz-ex-4a114d640e83-el-22" data-node="ex-4a114d640e83-el-22" 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>
);
}
Layered cards
Layered cards demonstrates elevation and surface hierarchy. Edit content, composition and responsive styling in Studio.
Layered cards
Make room for what matters.
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-fgjvn9-1v390hf-ex-2d4792d43f27-el-23{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-fgjvn9-1v390hf-ex-2d4792d43f27-el-23 \u003e *{width:100% !important}\n.sigma-export-fgjvn9-1v390hf-ex-2d4792d43f27-el-24{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-fgjvn9-1v390hf-ex-2d4792d43f27-el-24 \u003e *{width:100% !important}\n.sigma-export-fgjvn9-1v390hf-ex-2d4792d43f27-el-25{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-fgjvn9-1v390hf-ex-2d4792d43f27-el-25 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-fgjvn9-1v390hf-ex-2d4792d43f27-el-23" data-node="ex-2d4792d43f27-el-23" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"12px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Shadow"} props={{"alt":"SigmaUI abstract workspace illustration","description":"Make room for what matters.","gap":16,"items":["Getting started|A thoughtful beginning"],"label":"Layered cards","padding":12,"src":"/elements/product.svg","text":"minimal","title":"Layered cards","value":100}}>
<div className="sigma-node sigma-export-fgjvn9-1v390hf-ex-2d4792d43f27-el-24" data-node="ex-2d4792d43f27-el-24" 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-fgjvn9-1v390hf-ex-2d4792d43f27-el-25" data-node="ex-2d4792d43f27-el-25" 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.