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-1xc16gt-5ltos3-ex-879b06aef044-el-584{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1xc16gt-5ltos3-ex-879b06aef044-el-584 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1xc16gt-5ltos3-ex-879b06aef044-el-584" data-node="ex-879b06aef044-el-584" 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-1wp5y4l-bjgjjn-ex-ac18c772a5c2-el-587{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1wp5y4l-bjgjjn-ex-ac18c772a5c2-el-587 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1wp5y4l-bjgjjn-ex-ac18c772a5c2-el-587" data-node="ex-ac18c772a5c2-el-587" 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-9h9f1-hxsk37-ex-d5c6af6e3c69-el-590{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-9h9f1-hxsk37-ex-d5c6af6e3c69-el-590 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-9h9f1-hxsk37-ex-d5c6af6e3c69-el-590" data-node="ex-d5c6af6e3c69-el-590" 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-1bnru0p-adpvlf-ex-cbc19d6ce1ad-el-593{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1bnru0p-adpvlf-ex-cbc19d6ce1ad-el-593 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1bnru0p-adpvlf-ex-cbc19d6ce1ad-el-593" data-node="ex-cbc19d6ce1ad-el-593" 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-1csuo4b-8hy237-ex-8b7700bf7c60-el-596{width:100% !important;max-width:100% !important;position:relative !important;left:auto !important;top:auto !important}.sigma-export-1csuo4b-8hy237-ex-8b7700bf7c60-el-596 \u003e *{width:100% !important}"}</style>
<div className="sigma-stack">
<div className="sigma-node sigma-export-1csuo4b-8hy237-ex-8b7700bf7c60-el-596" data-node="ex-8b7700bf7c60-el-596" 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.