Search documentation

Type to search.

Navigate · Enter to open · Esc to close

On this page
Writing pages

Author content in Markdown or MDX.

View code
import Card from "@chitrank2050/monoline-docs/components/Card.astro";

<Card
  title="Writing pages"
  description="Author content in Markdown or MDX."
/>

Usage

Use the default slot for supporting content. Linked cards must not contain nested interactive controls.

Linked card

View code
import Card from "@chitrank2050/monoline-docs/components/Card.astro";

<Card
  title="Deployment"
  href="/deployment"
  description="Publish the generated static files."
/>

API reference

Card props
NameTypeDefaultDescription
titlestringRequiredCard heading.
descriptionstring—Supporting text.
hrefstring—Turns the card into a LinkCard.

Behavior and accessibility

A linked card is one link. Do not place other links or buttons inside it. Use a descriptive title that explains the destination.