Widget
Compact functional summaries
Five practical starting points. Explore a live example, then open its exact document in Studio.
Weather widget
Weather widget demonstrates compact functional summaries. 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-1u4eait-swvr1v-ex-110d03118bbd-el-341{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1u4eait-swvr1v-ex-110d03118bbd-el-341 \u003e *{width:100% !important}\n.sigma-export-1u4eait-swvr1v-ex-110d03118bbd-el-344{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1u4eait-swvr1v-ex-110d03118bbd-el-344 \u003e *{width:100% !important}\n.sigma-export-1u4eait-swvr1v-ex-110d03118bbd-el-345{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1u4eait-swvr1v-ex-110d03118bbd-el-345 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1u4eait-swvr1v-ex-110d03118bbd-el-341" data-node="ex-110d03118bbd-el-341" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Widget"} props={{"alt":"SigmaUI abstract workspace illustration","description":"A considered space for your next idea.","gap":16,"items":["Design|24","Build|48","Review|72"],"label":"Weather widget","padding":24,"src":"/elements/product.svg","text":"standard","title":"Weather widget","value":24}}>
<div className="sigma-node sigma-export-1u4eait-swvr1v-ex-110d03118bbd-el-344" data-node="ex-110d03118bbd-el-344" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Text"} props={{"text":"Bengaluru • 26?C • Illustrative weather"}} />
</div>
<div className="sigma-node sigma-export-1u4eait-swvr1v-ex-110d03118bbd-el-345" data-node="ex-110d03118bbd-el-345" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Icon"} props={{"text":"featured","title":"Partly cloudy"}} />
</div>
</ExtendedElement>
</div>
</div>
</SigmaUIProvider>
);
}
Statistics widget
Statistics widget demonstrates compact functional summaries. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Badge, 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-10ri69x-1rss6sz-ex-3d17616f5afa-el-346{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-10ri69x-1rss6sz-ex-3d17616f5afa-el-346 \u003e *{width:100% !important}\n.sigma-export-10ri69x-1rss6sz-ex-3d17616f5afa-el-349{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-10ri69x-1rss6sz-ex-3d17616f5afa-el-349 \u003e *{width:100% !important}\n.sigma-export-10ri69x-1rss6sz-ex-3d17616f5afa-el-350{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-10ri69x-1rss6sz-ex-3d17616f5afa-el-350 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-10ri69x-1rss6sz-ex-3d17616f5afa-el-346" data-node="ex-3d17616f5afa-el-346" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"16px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Widget"} props={{"alt":"SigmaUI abstract workspace illustration","description":"Built for small teams doing meaningful work.","gap":16,"items":["Maya Chen|Online","Alex Rivera|Away"],"label":"Statistics widget","padding":16,"src":"/elements/product.svg","text":"compact","title":"Statistics widget","value":65}}>
<div className="sigma-node sigma-export-10ri69x-1rss6sz-ex-3d17616f5afa-el-349" data-node="ex-3d17616f5afa-el-349" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Heading"} props={{"text":"display","title":"128"}} />
</div>
<div className="sigma-node sigma-export-10ri69x-1rss6sz-ex-3d17616f5afa-el-350" data-node="ex-3d17616f5afa-el-350" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Badge>
{"? 12% this week"}
</Badge>
</div>
</ExtendedElement>
</div>
</div>
</SigmaUIProvider>
);
}
Calendar widget
Calendar widget demonstrates compact functional summaries. 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-iw5tl4-cpkqbm-ex-b46bd58fad80-el-351{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-iw5tl4-cpkqbm-ex-b46bd58fad80-el-351 \u003e *{width:100% !important}\n.sigma-export-iw5tl4-cpkqbm-ex-b46bd58fad80-el-354{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-iw5tl4-cpkqbm-ex-b46bd58fad80-el-354 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-iw5tl4-cpkqbm-ex-b46bd58fad80-el-351" data-node="ex-b46bd58fad80-el-351" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Widget"} 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":"Calendar widget","padding":24,"src":"/elements/product.svg","text":"detailed","title":"Calendar widget","value":82}}>
<div className="sigma-node sigma-export-iw5tl4-cpkqbm-ex-b46bd58fad80-el-354" data-node="ex-b46bd58fad80-el-354" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Calendar"} props={{"text":"compact","title":"Your schedule"}} />
</div>
</ExtendedElement>
</div>
</div>
</SigmaUIProvider>
);
}
Task widget
Task widget demonstrates compact functional summaries. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Checkbox, 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-1u7edg3-15zghjn-ex-9bb58be71374-el-355{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1u7edg3-15zghjn-ex-9bb58be71374-el-355 \u003e *{width:100% !important}\n.sigma-export-1u7edg3-15zghjn-ex-9bb58be71374-el-358{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1u7edg3-15zghjn-ex-9bb58be71374-el-358 \u003e *{width:100% !important}\n.sigma-export-1u7edg3-15zghjn-ex-9bb58be71374-el-359{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1u7edg3-15zghjn-ex-9bb58be71374-el-359 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1u7edg3-15zghjn-ex-9bb58be71374-el-355" data-node="ex-9bb58be71374-el-355" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"32px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Widget"} 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":"Task widget","padding":32,"src":"/elements/product.svg","text":"featured","title":"Task widget","value":40}}>
<div className="sigma-node sigma-export-1u7edg3-15zghjn-ex-9bb58be71374-el-358" data-node="ex-9bb58be71374-el-358" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Checkbox label={"Review navigation"} defaultChecked={false} disabled={false} />
</div>
<div className="sigma-node sigma-export-1u7edg3-15zghjn-ex-9bb58be71374-el-359" data-node="ex-9bb58be71374-el-359" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Checkbox label={"Update documentation"} defaultChecked={false} disabled={false} />
</div>
</ExtendedElement>
</div>
</div>
</SigmaUIProvider>
);
}
Profile widget
Profile widget demonstrates compact functional summaries. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Avatar, 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-1ij4zot-1s9m7g3-ex-bf4a34232a68-el-360{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1ij4zot-1s9m7g3-ex-bf4a34232a68-el-360 \u003e *{width:100% !important}\n.sigma-export-1ij4zot-1s9m7g3-ex-bf4a34232a68-el-363{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1ij4zot-1s9m7g3-ex-bf4a34232a68-el-363 \u003e *{width:100% !important}\n.sigma-export-1ij4zot-1s9m7g3-ex-bf4a34232a68-el-364{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1ij4zot-1s9m7g3-ex-bf4a34232a68-el-364 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1ij4zot-1s9m7g3-ex-bf4a34232a68-el-360" data-node="ex-bf4a34232a68-el-360" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"12px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Widget"} props={{"alt":"SigmaUI abstract workspace illustration","description":"Make room for what matters.","gap":16,"items":["Getting started|A thoughtful beginning"],"label":"Profile widget","padding":12,"src":"/elements/product.svg","text":"minimal","title":"Profile widget","value":100}}>
<div className="sigma-node sigma-export-1ij4zot-1s9m7g3-ex-bf4a34232a68-el-363" data-node="ex-bf4a34232a68-el-363" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<Avatar alt={"Maya Chen"} />
</div>
<div className="sigma-node sigma-export-1ij4zot-1s9m7g3-ex-bf4a34232a68-el-364" data-node="ex-bf4a34232a68-el-364" style={{"--node-mobile":1,"--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Text"} props={{"text":"Maya Chen • Product designer"}} />
</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.