Standard Data
Query Result Stats Bar
The strip above a results table that states what the query returned — row count, how long it took, and the filters applied — so people trust the table below without re-reading every filter chip themselves.
$ velocityx add standard-query-result-stats-bar Built for astro.
Full docs for Query Result Stats Bar →
Needs a licence key —
subscribe here, then
velocityx loginonce.
- Status: Open
- Owner: Me
- Priority: High
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| resultCount | number | Yes | ||
| totalCount | number | No | ||
| durationMs | number | No | ||
| appliedFilters | AppliedFilter[] | No | [] | |
| locale | string | No | "en-US" | |
| onClearFilters | string | No | ||
| class | string | No | "" | optional id selector hint consumed by a parent script, not required |
File this creates
The CLI writes this path into your project, relative to its root — nothing else moves.
components/velocity/standard-query-result-stats-bar/QueryResultStatsBar.astro Using the Query Result Stats Bar component
Install it with velocityx add standard-query-result-stats-bar.
The CLI writes the source straight into your project — no runtime dependency, no registry
lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.
Related components
More from Standard Data.
A compliance-grade record of who did what and when, grouped under calendar-day headers with a severity tag per row and a details disclosure that reveals the structured change data only when someone needs it — built for security and admin audit trails, not a social activity stream.
astroShows when a dataset was last updated in plain words, flags it as stale past a threshold you set, and exposes a Refresh action — so a dashboard never leaves a viewer guessing whether the numbers on screen are current.
astroShimmering placeholder rows sized to match the real table's columns, so a data grid has zero layout shift the moment live rows arrive.
astroSemantic record details in stacked or two-column layouts with optional field hints and empty-value text.
astro