Which part for what
Filters
FilterBar and QueryBuilder.
FilterBar
FilterBar is one row that wraps.
searchcomes first and grows, from 220 to 420px.- Segmented
Tabs,Selects andSwitches follow at their width. endsits at the right, for a count or Clear.
The name of a filter is inside the control, as its value or its aria-label.
It is never a caption above it.
On a phone the filters scroll sideways under the search field.
Open the example ↗
QueryBuilder
QueryBuilder filters over the fields of a list, inside the FilterBar.
- Each rule is a 30px chip, such as "State is Open" or "Estimate > 3", that opens a popover.
- "Filter" adds a rule.
- The button with the sliders opens the builder, which groups rules with
ANDorOR. - Fields are typed by a schema,
QueryField. toWhereandfromWhereconvert to and from thewhereof the store.- On a phone it is one sheet of grouped rows.
Open the example ↗
Open the example ↗
Open the example ↗
See Query builder for the query model and its text form.
Edit on GitHub
Last updated on