Figures
defaultProps of default
<Figure src={image("/_astro/test-pattern.CRwj5U5U.jpg")} alt="A test pattern of color bars">
A test pattern, as broadcast between programs.
</Figure>
no-captionProps of no-caption
<Figure src={image("/_astro/test-pattern.CRwj5U5U.jpg")} alt="A test pattern of color bars" />
portraitProps of portrait
<Figure src={image("/_astro/greg.B9OwiVM9.jpg")} alt="Greg Heffley" tone="secondary">
Greg Heffley, from <a href="https://example.com">Diary of a Wimpy Kid</a>.
</Figure>
croppedProps of cropped
<Figure src={image("/_astro/test-pattern.CRwj5U5U.jpg")} alt="A test pattern of color bars" ratio="21 / 9">
Cropped to 21 / 9 with <code>ratio</code>. A longer caption wraps under the ima…
</Figure>
ratio. A longer caption wraps under the image without pushing the frame any wider than it is.