Footnote

Open Source
New

List-owned scholarly footnotes with stable labels, backreferences, and article or preprint rule variants.

API and behavior

Compound exports, owned slots, interaction law, and family hook routing.

Required props
FootnoteListFootnote.idFootnote.labelchildren
Optional props
rulebackrefHrefbackrefLabel
Controlled props
None
Companion exports
FootnoteListFootnote
Owned data-slot contract
footnote-listfootnote-rulefootnotefootnote-labelfootnote-contentfootnote-backref

Motif route

MOTIF_REGISTRY.footnote → apparatusTarget('footnote')

Keyboard

Backreferences are native links and return focus through the document anchor.

Accessibility

List ownership is mandatory; labels and optional return links remain explicit text.

Family hooks

Journal consumes short/full rule, hanging content, label, and reference-act hooks.

Documented states
short article rulefull preprint rulelong note with backreference

Installation

npx shadcn@latest add @substrateui/footnote --yes

Upgrading a project that installed base before F1? Refresh the shared hooks first:

npx shadcn@latest add @substrateui/base --yes --overwrite

npm Dependencies

npm install class-variance-authority

Tags

journalfootnoteannotationprovenance