Skip to main content

CriteriaBar

The sentence above the results, with one chip per condition and Adjust.

ICU nurses in Texas
Example
<CriteriaBar
segments={[
{ text: 'ICU nurses ' },
{ key: 'place', label: 'in Texas', filtered: true, title: 'Texas' },
]}
onAdjust={openAdjust}
/>

Props​

PropType
segmentsCriteriaPiece[]Plain text, or { key, label?, filtered, title }.
more{ count, title }The +n more link.
onAdjust(key?) => voidA chip opens that condition. Adjust opens the dialog.
onChanges() => voidWho changed the search, and why.
classNamestringAdded on the root element.
styleCSSPropertiesAdded on the root element.

Render it inside SourcingTheme so the Nova tokens apply.