List
A generic and flexible way to automatically list large sets of items
👁️ PREVIEW
Takes a list of data, filters it, loops through it, and displays each item with some component.
Parameter | Description |
---|---|
| The set of items to loop through, e.g. |
| The component to show for each item in the list. The fields in your |
| Filter your |
| A |
Technically you can use any structure of data
and any component
with the list component, but by default, the template comes with a few placeholder data lists and matching components for common needs.
Filters
The filters
parameter is a comma separated list of field/value filters, like field: value, field: value, field: value
. An item is considered a match only if all the filters match.
The field
is the particular field/key of the data item to check. The value
is the value to compare against. value
can be:
A plain string for an exact match.
Blank to match unspecified fields.
Ruby-flavored regex string for more complex matching.
Examples
Filter string | Show items with... |
---|---|
|
|
| no specified |
| some specified/defined |
|
|
|
|
Last updated