<figcaption>
The caption under a figure's picture, set as its own line of text.
<figure style="w-full">
<img src="https://hypeapps.dev/gallery/assets/city.jpg"
style="w-full h-200 rounded-xl"
fit="cover"/>
<figcaption style="muted text-sm mt-8">Fig. 1: The old town at night, from the harbor wall</figcaption>
</figure>
Attributes
| Name | What it does | Default |
|---|---|---|
style |
Style classes string |
Any tag also takes gestures: @on.tap, @on.longpress, @on.doubletap and @on.swipeleft (and right, up and down). @click runs on a tap too.