Marketing & Social Proof
Before/After Results Panel
Static side-by-side before/after metric comparison panel, not an image slider.
$ velocityx add results-before-after-panel Built for astro.
Full docs for Before/After Results Panel →
Needs a licence key —
subscribe here, then
velocityx loginonce.
Placeholder
Sample before / after
Before
After
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| eyebrow | string | No | ||
| title | string | No | ||
| headingLevel | 1 | 2 | 3 | 4 | 5 | 6 | No | 2 | |
| beforeLabel | string | No | 'Before' | |
| afterLabel | string | No | 'After' | |
| metrics | Array<{ label: string; before: string; after: string }> | Yes | ||
| className | string | No | '' |
File this creates
The CLI writes this path into your project, relative to its root — nothing else moves.
components/velocity/results-before-after-panel/ResultsBeforeAfterPanel.astro Using the Before/After Results Panel component
Install it with velocityx add results-before-after-panel.
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 Marketing & Social Proof.
Row of award/recognition badge tiles supplied entirely via props.
astroCover image, industry tag, headline and result line linking through to a full case study.
astroRow of metric tiles for the headline numbers inside a case study.
astroFull section wrapper around a CSS-only scrolling logo strip that stops entirely under reduced motion.
astro