Skip to main content
To display secondary information alongside a page’s main content, use the <Aside> component. It is a wrapper over built-in Callout components provided by Mintlify, but with a unified interface and a way to specify a title.

Import

Usage

Display an aside (also known as “admonitions” or “callouts”) using the <Aside> component. An <Aside> can have an optional type attribute, which controls the aside’s color, icon, and default title.

Use custom titles

Override the default aside titles by using the title attribute.
Watch out!

<Aside> props

Implementation: aside.jsx The <Aside> component accepts the following props:

type

type: "note" | "tip" | "caution" | "danger"
default: "note"
The type of aside to display:
  • note asides (the default) are blue and display an information icon.
  • tip asides are purple and display a rocket icon.
  • caution asides are yellow and display a triangular warning icon.
  • danger asides are red and display an octagonal warning icon.
Passing a different, unrecognized type resets the type to danger and replaces text content with the corresponding error message.

title

type: string
default: "" (no title)
The title of the aside to display. If title is not set, no title is displayed.

icon

type: string
default: "" (corresponds to the type)
The custom icon to display instead of the default one set by the type. Can be one of the following:

iconType

type: "regular" | "solid" | "light" | "thin" | "sharp-solid" | "duotone" | "brands"
default: "regular"
The Font Awesome icon style — only used with Font Awesome icons.