Skip to content

Function: Source()

ts
function Source(props: Readonly<{
  href: string;
  title?: string;
  description?: string;
  className?: string;
}> & RefAttributes<HTMLAnchorElement>): Block;

Defined in: src/renderer/blocks/index.ts:2239

Experimental

Source — a single cited URL inside a Sources block. Opens in a new tab; renders title (fallback: href) plus optional description.

Parameters

ParameterType
propsReadonly<{ href: string; title?: string; description?: string; className?: string; }> & RefAttributes<HTMLAnchorElement>

Returns

Block

Matterway Assistant SDK Documentation