Inputs
Labeled native data entry
Five practical starting points. Explore a live example, then open its exact document in Studio.
Name field
Name field demonstrates labeled native data entry. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Input, 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-1a4b0tp-z7eofn-ex-8e69c2ddc5e7-el-121{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1a4b0tp-z7eofn-ex-8e69c2ddc5e7-el-121 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1a4b0tp-z7eofn-ex-8e69c2ddc5e7-el-121" data-node="ex-8e69c2ddc5e7-el-121" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<Input label={"Full name"} type={"text"} disabled={false} readOnly={false} />
</div>
</div>
</SigmaUIProvider>
);
}
Email context
Email context demonstrates labeled native data entry. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Input, 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-ysd55l-1o2zulv-ex-ef4593e22ef0-el-122{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-ysd55l-1o2zulv-ex-ef4593e22ef0-el-122 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-ysd55l-1o2zulv-ex-ef4593e22ef0-el-122" data-node="ex-ef4593e22ef0-el-122" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<Input label={"Email address"} type={"email"} disabled={false} readOnly={false} />
</div>
</div>
</SigmaUIProvider>
);
}
Search context
Search context demonstrates labeled native data entry. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Input, 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-l594h5-11cx31v-ex-ca3938fbeb72-el-123{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-l594h5-11cx31v-ex-ca3938fbeb72-el-123 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-l594h5-11cx31v-ex-ca3938fbeb72-el-123" data-node="ex-ca3938fbeb72-el-123" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<Input label={"Find a project"} type={"search"} disabled={false} readOnly={false} />
</div>
</div>
</SigmaUIProvider>
);
}
Required context
Required context demonstrates labeled native data entry. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Input, 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-dncpl9-f8dsc3-ex-9f40cf66fdd2-el-124{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-dncpl9-f8dsc3-ex-9f40cf66fdd2-el-124 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-dncpl9-f8dsc3-ex-9f40cf66fdd2-el-124" data-node="ex-9f40cf66fdd2-el-124" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<Input label={"Project name (required)"} type={"text"} disabled={false} readOnly={false} error={"Review this field before continuing."} />
</div>
</div>
</SigmaUIProvider>
);
}
Inline field
Inline field demonstrates labeled native data entry. Edit content, composition and responsive styling in Studio.
Usage code · exact rendered document
'use client';
import type { CSSProperties } from "react";
import { Input, 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-zok4tf-1wgap8z-ex-ad4d491c53e7-el-125{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-zok4tf-1wgap8z-ex-ad4d491c53e7-el-125 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-zok4tf-1wgap8z-ex-ad4d491c53e7-el-125" data-node="ex-ad4d491c53e7-el-125" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<Input label={"Workspace URL"} type={"url"} disabled={false} readOnly={false} />
</div>
</div>
</SigmaUIProvider>
);
}
Protected properties
binding, id, type, version, role, intent. Trusted host bindings remain protected.
Composition & accessibility
Uses the shared primitive contract. Use meaningful labels and a logical heading hierarchy. Interactive submissions are simulated locally.