Skip to main content
Build a callout output.

Usage

You can also use the .callout() method on Html objects:

Signature

Parameters

object
required
A value to render in the callout.
Literal['neutral', 'warn', 'success', 'info', 'danger']
default:"'neutral'"
The kind of callout (affects styling).

Returns

An HTML object.

Callout Kinds

  • neutral: Default styling for general information
  • info: Blue styling for informational messages
  • success: Green styling for success messages
  • warn: Yellow/orange styling for warnings
  • danger: Red styling for errors or critical information