Catalogue element
bry-filter-menu
A Filter button whose menu lists facets, each opening options to tick, marked with their state or priority.
Settings
| Setting | Takes | Needed |
|---|---|---|
label | text, at most 200 characters | no |
facets | a list of at most 8: a record of id, label, icon, kind, search, options (needs id, label) | yes |
values | a list of at most 8: a record of facet, values (needs facet) | no |
Example
JSX
<bry-filter-menu facets={[{"id":"status","label":"Status","icon":"status","options":[{"value":"todo","label":"Todo","mark":"unstarted"},{"value":"in_progress","label":"In Progress","mark":"started","tone":"warn"},{"value":"done","label":"Done","mark":"completed","tone":"brand"}]},{"id":"priority","label":"Priority","icon":"flag","options":[{"value":"urgent","label":"Urgent","mark":"urgent"}]}]} values={[{"facet":"status","values":["todo"]}]} />Renderer contact sheet
These paths will hold the checked light and dark captures.

