Velocity X Components

Long-form

Sidenote

An inline footnote marker that reveals its note in a popover on click, instead of sending the reader to the bottom of the page and back. Fully keyboard operable — Enter/Space to open, Escape or an outside click to close.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add sidenote

Built for astro.

Full docs for Sidenote →

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

astro v1.0.1
Sidenote

Props

NameTypeRequiredDefaultDescription
numbernumber | stringYes

File this creates

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

text
components/velocity/sidenote/Sidenote.astro

Using the Sidenote component

Install it with velocityx add sidenote. 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.