Search Bar
Client-only filtering and search feedback
Five practical starting points. Explore a live example, then open its exact document in Studio.
Command search
Command search demonstrates client-only filtering and search feedback. 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-1039n1f-zu7wer-ex-be83139e108e-el-569{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1039n1f-zu7wer-ex-be83139e108e-el-569 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1039n1f-zu7wer-ex-be83139e108e-el-569" data-node="ex-be83139e108e-el-569" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"SearchBar"} props={{"alt":"SigmaUI abstract workspace illustration","description":"A considered space for your next idea.","gap":16,"items":["Create project","Find element","Export React"],"label":"Command search","padding":24,"src":"/elements/product.svg","text":"standard","title":"Command search","value":24}} />
</div>
</div>
</SigmaUIProvider>
);
}
Product search
Product search demonstrates client-only filtering and search feedback. 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-19op7rt-4wolrn-ex-8d9104105f89-el-572{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-19op7rt-4wolrn-ex-8d9104105f89-el-572 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-19op7rt-4wolrn-ex-8d9104105f89-el-572" data-node="ex-8d9104105f89-el-572" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"16px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"SearchBar"} props={{"alt":"SigmaUI abstract workspace illustration","description":"Built for small teams doing meaningful work.","gap":16,"items":["Arc headphones","Studio speaker","Travel case"],"label":"Product search","padding":16,"src":"/elements/product.svg","text":"compact","title":"Product search","value":65}} />
</div>
</div>
</SigmaUIProvider>
);
}
People search
People search demonstrates client-only filtering and search feedback. 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-1kevdab-klseoj-ex-543c0233ec53-el-575{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1kevdab-klseoj-ex-543c0233ec53-el-575 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1kevdab-klseoj-ex-543c0233ec53-el-575" data-node="ex-543c0233ec53-el-575" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"24px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"SearchBar"} props={{"alt":"SigmaUI abstract workspace illustration","description":"Your workspace, with everything in reach.","gap":16,"items":["Maya Chen","Alex Rivera","Priya Shah"],"label":"People search","padding":24,"src":"/elements/product.svg","text":"detailed","title":"People search","value":82}} />
</div>
</div>
</SigmaUIProvider>
);
}
Documentation search
Documentation search demonstrates client-only filtering and search feedback. 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-4x0sav-1d51gr7-ex-d78788e2a87e-el-578{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-4x0sav-1d51gr7-ex-d78788e2a87e-el-578 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-4x0sav-1d51gr7-ex-d78788e2a87e-el-578" data-node="ex-d78788e2a87e-el-578" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"32px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"SearchBar"} props={{"alt":"SigmaUI abstract workspace illustration","description":"Clear information. Confident decisions.","gap":16,"items":["Buttons","Cards","Forms","Layout"],"label":"Documentation search","padding":32,"src":"/elements/product.svg","text":"featured","title":"Documentation search","value":40}} />
</div>
</div>
</SigmaUIProvider>
);
}
Empty search
Empty search demonstrates client-only filtering and search feedback. 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-1xcm5kx-z6331v-ex-1cf9a735743d-el-581{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1xcm5kx-z6331v-ex-1cf9a735743d-el-581 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1xcm5kx-z6331v-ex-1cf9a735743d-el-581" data-node="ex-1cf9a735743d-el-581" style={{"--node-gap":"16px","--node-mobile":1,"--node-padding":"12px","--node-tablet":2} as CSSProperties}>
<ExtendedElement kind={"SearchBar"} props={{"alt":"SigmaUI abstract workspace illustration","description":"Make room for what matters.","gap":16,"items":[],"label":"Empty search","padding":12,"src":"/elements/product.svg","text":"minimal","title":"Empty search","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.