Resource toolbar
Keep a compact view selector beside a flexible native search input.
Interactive example
Loading Polaris web components…
Usage
<ResourceToolbar><s-select label="View"/><s-text-field label="Search"/><s-button>Columns</s-button></ResourceToolbar>Properties
| Property | Type | Default | Description |
|---|---|---|---|
| children | ReactNode | Required | Native select, search field and action buttons. |
Design & interaction
The view selector is 128px, search fills the remaining width. Do not stretch an All selector across half the table. Wrap at narrow sizes. Use a 3:7 view/search ratio and separate sort and column controls.
Accessibility
Host supplies meaningful labels. DOM order stays identical to visual order.
Open-source source
Available in github.com/Kaupvik/kaupvik-polaris ↗. Host apps supply authentication, native persistence, and read-back state.