Velocity X Components

Long-form

Annotated Image Figure

A proper image block for long-form writing: real caption, optional source credit, and a click-to-enlarge view for diagrams and screenshots a narrow article column can't show at full detail. No lightbox dependency — the enlarge is a focus-trapped native dialog that closes on Escape and hands focus straight back.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add long-form-annotated-image-figure

Built for astro.

Full docs for Annotated Image Figure →

Needs a licence key — subscribe here, then velocityx loginonce.

astro v1.0.1
Annotated Image Figure
The queue after the rewrite — workers pull, never get pushed to. Diagram by the author
Render queue architecture diagram: ingest, worker pool, retry store

The queue after the rewrite — workers pull, never get pushed to.

Props

NameTypeRequiredDefaultDescription
srcstringYes
altstringYes
widthnumberYes
heightnumberYes
captionstringNo
creditstringNo

File this creates

The CLI writes this path into your project, relative to its root — nothing else moves.

text
components/velocity/long-form-annotated-image-figure/AnnotatedImageFigure.astro

Using the Annotated Image Figure component

Install it with velocityx add long-form-annotated-image-figure. 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.

More from Long-form.