Alpine.js
Isolated Alpine-owned iframe; React owns only its shell
Five practical starting points. Explore a live example, then open its exact document in Studio.
Counter
Counter demonstrates isolated alpine-owned iframe; react owns only its shell. Edit content, composition and responsive styling in Studio.
Loading isolated Alpine demo…
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-zd7r6p-1qa7h9v-ex-018eab834984-el-152{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-zd7r6p-1qa7h9v-ex-018eab834984-el-152 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-zd7r6p-1qa7h9v-ex-018eab834984-el-152" data-node="ex-018eab834984-el-152" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"AlpineDemo"} props={{"alt":"SigmaUI abstract workspace illustration","description":"A considered space for your next idea.","gap":16,"items":["Overview","Projects","People","Settings"],"label":"Counter","padding":24,"src":"/elements/product.svg","text":"counter","title":"Counter","value":24}} />
</div>
</div>
</SigmaUIProvider>
);
}
Disclosure
Disclosure demonstrates isolated alpine-owned iframe; react owns only its shell. Edit content, composition and responsive styling in Studio.
Loading isolated Alpine demo…
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-1p19wv7-1vny2ab-ex-47bc923dbc59-el-155{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1p19wv7-1vny2ab-ex-47bc923dbc59-el-155 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1p19wv7-1vny2ab-ex-47bc923dbc59-el-155" data-node="ex-47bc923dbc59-el-155" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"AlpineDemo"} props={{"alt":"SigmaUI abstract workspace illustration","description":"Built for small teams doing meaningful work.","gap":16,"items":["Overview","Projects","People","Settings"],"label":"Disclosure","padding":24,"src":"/elements/product.svg","text":"disclosure","title":"Disclosure","value":65}} />
</div>
</div>
</SigmaUIProvider>
);
}
Tab switcher
Tab switcher demonstrates isolated alpine-owned iframe; react owns only its shell. Edit content, composition and responsive styling in Studio.
Loading isolated Alpine demo…
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-1j0184j-ep8w43-ex-8c237d1abe4d-el-158{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1j0184j-ep8w43-ex-8c237d1abe4d-el-158 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1j0184j-ep8w43-ex-8c237d1abe4d-el-158" data-node="ex-8c237d1abe4d-el-158" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"AlpineDemo"} props={{"alt":"SigmaUI abstract workspace illustration","description":"Your workspace, with everything in reach.","gap":16,"items":["Overview","Projects","People","Settings"],"label":"Tab switcher","padding":24,"src":"/elements/product.svg","text":"tabs","title":"Tab switcher","value":82}} />
</div>
</div>
</SigmaUIProvider>
);
}
Filter list
Filter list demonstrates isolated alpine-owned iframe; react owns only its shell. Edit content, composition and responsive styling in Studio.
Loading isolated Alpine demo…
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-1ad3ihp-14u2ipf-ex-1f6b674b3154-el-161{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1ad3ihp-14u2ipf-ex-1f6b674b3154-el-161 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1ad3ihp-14u2ipf-ex-1f6b674b3154-el-161" data-node="ex-1f6b674b3154-el-161" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"AlpineDemo"} props={{"alt":"SigmaUI abstract workspace illustration","description":"Clear information. Confident decisions.","gap":16,"items":["Overview","Projects","People","Settings"],"label":"Filter list","padding":24,"src":"/elements/product.svg","text":"filter","title":"Filter list","value":40}} />
</div>
</div>
</SigmaUIProvider>
);
}
Local form
Local form demonstrates isolated alpine-owned iframe; react owns only its shell. Edit content, composition and responsive styling in Studio.
Loading isolated Alpine demo…
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-re3yzd-1j05b5f-ex-129376813ac4-el-164{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-re3yzd-1j05b5f-ex-129376813ac4-el-164 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-re3yzd-1j05b5f-ex-129376813ac4-el-164" data-node="ex-129376813ac4-el-164" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"AlpineDemo"} props={{"alt":"SigmaUI abstract workspace illustration","description":"Make room for what matters.","gap":16,"items":["Overview","Projects","People","Settings"],"label":"Local form","padding":24,"src":"/elements/product.svg","text":"form","title":"Local form","value":100}} />
</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.