AnyLumino
API referenceastryxsurfaces

Citation

Render a compact inline citation reference.

Astryx Props

JSON-safe Citation props forwarded to Astryx.

Supported Astryx props include:

  • source (CitationSource; required): The citation source object containing title, url, and optional icon.
  • number (number; required): The display index for this citation.
  • variant ('label' or 'number'): Display style: a label chip showing the source title or a compact numbered badge.

See Astryx component docs: https://astryx.atmeta.com/components/Citation.

Functions

constructor__init__(source, *, number=1, variant='number', **props) -> None
paramsourceMapping[str, Any]

Citation source metadata.

paramnumberint
= 1

Citation number.

paramvariantstr
= 'number'

Astryx visual variant.

parampropsAny
= {}

Returns

None

On this page