Scrollbar
Contained scroll regions
Five practical starting points. Explore a live example, then open its exact document in Studio.
Activity stream
Activity stream demonstrates contained scroll regions. 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-9zbylj-ivbnrn-ex-1c6c5d0e1ad9-el-554{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-9zbylj-ivbnrn-ex-1c6c5d0e1ad9-el-554 \u003e *{width:100% !important}\n.sigma-export-9zbylj-ivbnrn-ex-1c6c5d0e1ad9-el-555{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-9zbylj-ivbnrn-ex-1c6c5d0e1ad9-el-555 \u003e *{width:100% !important}\n.sigma-export-9zbylj-ivbnrn-ex-1c6c5d0e1ad9-el-556{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-9zbylj-ivbnrn-ex-1c6c5d0e1ad9-el-556 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-9zbylj-ivbnrn-ex-1c6c5d0e1ad9-el-554" data-node="ex-1c6c5d0e1ad9-el-554" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Scrollbar"} props={{"alt":"SigmaUI abstract workspace illustration","description":"A considered space for your next idea.","gap":16,"items":["Design|24","Build|48","Review|72"],"label":"Activity stream","padding":24,"src":"/elements/product.svg","text":"standard","title":"Activity stream","value":24}}>
<div className="sigma-node sigma-export-9zbylj-ivbnrn-ex-1c6c5d0e1ad9-el-555" data-node="ex-1c6c5d0e1ad9-el-555" 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-9zbylj-ivbnrn-ex-1c6c5d0e1ad9-el-556" data-node="ex-1c6c5d0e1ad9-el-556" 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>
);
}
Code window
Code window demonstrates contained scroll regions. 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-1q5eq6b-1kupk5v-ex-0c707a93d2eb-el-557{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1q5eq6b-1kupk5v-ex-0c707a93d2eb-el-557 \u003e *{width:100% !important}\n.sigma-export-1q5eq6b-1kupk5v-ex-0c707a93d2eb-el-558{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1q5eq6b-1kupk5v-ex-0c707a93d2eb-el-558 \u003e *{width:100% !important}\n.sigma-export-1q5eq6b-1kupk5v-ex-0c707a93d2eb-el-559{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1q5eq6b-1kupk5v-ex-0c707a93d2eb-el-559 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1q5eq6b-1kupk5v-ex-0c707a93d2eb-el-557" data-node="ex-0c707a93d2eb-el-557" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"16px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Scrollbar"} props={{"alt":"SigmaUI abstract workspace illustration","description":"Built for small teams doing meaningful work.","gap":16,"items":["Maya Chen|Online","Alex Rivera|Away"],"label":"Code window","padding":16,"src":"/elements/product.svg","text":"compact","title":"Code window","value":65}}>
<div className="sigma-node sigma-export-1q5eq6b-1kupk5v-ex-0c707a93d2eb-el-558" data-node="ex-0c707a93d2eb-el-558" 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-1q5eq6b-1kupk5v-ex-0c707a93d2eb-el-559" data-node="ex-0c707a93d2eb-el-559" 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>
);
}
Horizontal strip
Horizontal strip demonstrates contained scroll regions. 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-1ew74kn-1a4r2r-ex-0b98c454766e-el-560{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1ew74kn-1a4r2r-ex-0b98c454766e-el-560 \u003e *{width:100% !important}\n.sigma-export-1ew74kn-1a4r2r-ex-0b98c454766e-el-561{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1ew74kn-1a4r2r-ex-0b98c454766e-el-561 \u003e *{width:100% !important}\n.sigma-export-1ew74kn-1a4r2r-ex-0b98c454766e-el-562{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1ew74kn-1a4r2r-ex-0b98c454766e-el-562 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1ew74kn-1a4r2r-ex-0b98c454766e-el-560" data-node="ex-0b98c454766e-el-560" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Scrollbar"} 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":"Horizontal strip","padding":24,"src":"/elements/product.svg","text":"detailed","title":"Horizontal strip","value":82}}>
<div className="sigma-node sigma-export-1ew74kn-1a4r2r-ex-0b98c454766e-el-561" data-node="ex-0b98c454766e-el-561" 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-1ew74kn-1a4r2r-ex-0b98c454766e-el-562" data-node="ex-0b98c454766e-el-562" 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>
);
}
Reading panel
Reading panel demonstrates contained scroll regions. 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-iyjhrv-epwhoz-ex-5c1e147b10c0-el-563{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-iyjhrv-epwhoz-ex-5c1e147b10c0-el-563 \u003e *{width:100% !important}\n.sigma-export-iyjhrv-epwhoz-ex-5c1e147b10c0-el-564{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-iyjhrv-epwhoz-ex-5c1e147b10c0-el-564 \u003e *{width:100% !important}\n.sigma-export-iyjhrv-epwhoz-ex-5c1e147b10c0-el-565{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-iyjhrv-epwhoz-ex-5c1e147b10c0-el-565 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-iyjhrv-epwhoz-ex-5c1e147b10c0-el-563" data-node="ex-5c1e147b10c0-el-563" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"32px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Scrollbar"} 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":"Reading panel","padding":32,"src":"/elements/product.svg","text":"featured","title":"Reading panel","value":40}}>
<div className="sigma-node sigma-export-iyjhrv-epwhoz-ex-5c1e147b10c0-el-564" data-node="ex-5c1e147b10c0-el-564" 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-iyjhrv-epwhoz-ex-5c1e147b10c0-el-565" data-node="ex-5c1e147b10c0-el-565" 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>
);
}
Compact list
Compact list demonstrates contained scroll regions. 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-1xs6xbh-15868xf-ex-859067018f77-el-566{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1xs6xbh-15868xf-ex-859067018f77-el-566 \u003e *{width:100% !important}\n.sigma-export-1xs6xbh-15868xf-ex-859067018f77-el-567{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1xs6xbh-15868xf-ex-859067018f77-el-567 \u003e *{width:100% !important}\n.sigma-export-1xs6xbh-15868xf-ex-859067018f77-el-568{width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1xs6xbh-15868xf-ex-859067018f77-el-568 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1xs6xbh-15868xf-ex-859067018f77-el-566" data-node="ex-859067018f77-el-566" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"12px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"Scrollbar"} props={{"alt":"SigmaUI abstract workspace illustration","description":"Make room for what matters.","gap":16,"items":["Getting started|A thoughtful beginning"],"label":"Compact list","padding":12,"src":"/elements/product.svg","text":"minimal","title":"Compact list","value":100}}>
<div className="sigma-node sigma-export-1xs6xbh-15868xf-ex-859067018f77-el-567" data-node="ex-859067018f77-el-567" 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-1xs6xbh-15868xf-ex-859067018f77-el-568" data-node="ex-859067018f77-el-568" 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.