0.7.4 gives the Ambient pack weather. A page names one feed URL on its own site, and the pack sets data-weather from it, uses its sunrise and sunset for dawn and dusk, and never shows a stale observation. Helpers for producing the feed from Open-Meteo are included. Ambient p…
Filter + sort + paginated card list — the classic blog/product/search-results layout assembled from existing VB primitives. No content-feed component required.
The recipe in one snippet
The "content feed" page type — a list of substantial items with optional filtering, sorting, and pagination — is a composition over existing primitives, not a single component. Three pieces:
Each piece is independently testable, replaceable, and re-composable. The "content-feed" component this would have been dissolves into the recipe below.
Variants
Blog index
Native <ul>; numbered pagination with the page in the URL so individual pages are linkable / shareable.
Opt into URL syncing with data-paged-url="page" when the page is independently linkable — blog indices, search results, paginated lists in articles. Skip it for ephemeral surfaces like dashboards or modal lists where browser back/forward shouldn't navigate pages.
The attribute uses the History API's pushState; popstate automatically re-syncs the rendered page. Reload preserves position via the URL parameter.
Filtering composition
Two paths depending on how dynamic the content is:
Author-rendered items, client filtering — <site-search target="#feed"> filters the items in place. Pagination from data-paged applies to the filtered subset automatically (the engine re-paginates on MutationObserver child changes).
Server-rendered subsets — handle the filter in your data layer; re-render the items into the container; data-paged picks up the new children and re-paginates from page 1.
Sorting composition
VB ships data-sort on <data-table> column headers for in-table sorting. For other containers, sort either via your data layer (re-render) or with a vanilla <select> + JS that reorders DOM nodes (the data-paged engine re-paginates on the resulting child mutations).
A generic data-sortable upscale for arbitrary list containers may land later if a third use case appears.
Decoupled pagination controls
When the items and the controls live in different parts of the layout — sticky header pager + items below, sidebar pager driving the main column, top + bottom pagers staying in sync — use the <pager-wc> element form. Same engine; different surface.
Dense data with column-level sort/filter — use <data-table> with its built-in data-sort + data-paged.
The recipe above is for substantial, paginated content items (articles, products, search hits). The components above each cover their own shape better than a generic feed would.