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-u122q1-1nqa84z-ex-a41743d948f0-el-116{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-u122q1-1nqa84z-ex-a41743d948f0-el-116 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-u122q1-1nqa84z-ex-a41743d948f0-el-116" data-node="ex-a41743d948f0-el-116" 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-a1dkl-9iq62b-ex-dac8df7fc7e4-el-117{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-a1dkl-9iq62b-ex-dac8df7fc7e4-el-117 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-a1dkl-9iq62b-ex-dac8df7fc7e4-el-117" data-node="ex-dac8df7fc7e4-el-117" 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-cxlkgz-1kn5ydv-ex-e28adfab3e3b-el-118{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-cxlkgz-1kn5ydv-ex-e28adfab3e3b-el-118 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-cxlkgz-1kn5ydv-ex-e28adfab3e3b-el-118" data-node="ex-e28adfab3e3b-el-118" 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-zfja9-5w00j7-ex-68b002060796-el-119{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-zfja9-5w00j7-ex-68b002060796-el-119 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-zfja9-5w00j7-ex-68b002060796-el-119" data-node="ex-68b002060796-el-119" 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-nybmhv-bp5dqr-ex-9f6d30c2f103-el-120{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-nybmhv-bp5dqr-ex-9f6d30c2f103-el-120 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-nybmhv-bp5dqr-ex-9f6d30c2f103-el-120" data-node="ex-9f6d30c2f103-el-120" 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.