Skip to main content Notion blocks  for Svelte
Beat Technology AS

Caption

This page is generated from a page in Notion database, and is intended to demonstrate the capability of the Caption block.

You can view this page in Notion to see that it corresponds well to what is displayed.

You can pick a stylesheet below to change how it renders.

Stylesheet

Captions are not blocks in Notion, but a lot of other blocks support adding captions. We’ve therefore extracted it as its own component, which is re-used wherever captions are supported, such as:

  • Images
  • Callouts
  • Bookmarks

Example

Example caption for an image.

Styling

Captions are really figure tags with a figcaption inside. To style them, you should target .caption and .caption figcaption.