Referencecaption

<caption>

<caption> is a Sectional component that renders a caption attached to an <image/> or <video/> when nested inside a <figure>.

Attributes and Properties

The <caption> component has no attributes.

Props for <caption name="c">
PropertyType
$c.disabledboolean
$c.fixedboolean
$c.fixLocationboolean
$c.hiddenboolean
$c.texttext

Example: Add a <caption> to a <figure>

A <caption> is used to describe an <image> in a <figure>.