Search documentation

Type to search.

Navigate · Enter to open · Esc to close

On this page
Content and configuration become a static documentation site
View code
import Figure from "@chitrank2050/monoline-docs/components/Figure.astro";

<Figure
  src="/assets/build-flow.svg"
  alt="Content and configuration become a static documentation site"
  width={360}
  height={288}
/>

Usage

Supply accurate dimensions to reserve space. Images load lazily; use meaningful alt text for informative diagrams.

Captioned image

Documentation build flow
The build produces portable static output.
View code
import Figure from "@chitrank2050/monoline-docs/components/Figure.astro";

<Figure
  src="/assets/build-flow.svg"
  alt="Documentation build flow"
  width={360}
  height={288}
  caption="The build produces portable static output."
/>

API reference

Figure props
NameTypeDefaultDescription
srcstringRequiredImage source; local /assets paths honor the base.
altstringRequiredImage description; empty only for decorative images.
widthnumberRequiredPositive integer intrinsic width.
heightnumberRequiredPositive integer intrinsic height.
captionstring—Optional visible caption.

Behavior and accessibility

Provide accurate image dimensions and useful alternative text. Captions explain the image in context; decorative images may use an explicitly empty alt value.