X Enterprises
nuxt-x-affiliate

Callout Box

info / success / warning / danger / tip callout with optional title and custom icon.

Callout Box

The XAFCalloutBox component is a colored, rounded box for highlighting blocks of in-content text. Five variants cover the common editorial cases — info, success, warning, danger, tip. Accepts a slot for the body content.

Components

<XAFCalloutBox />

<XAFCalloutBox variant="warning" title="Heads up">
  This product is no longer being manufactured. The refurbished units on Amazon
  are a solid pick, but don't expect first-party warranty coverage.
</XAFCalloutBox>

<XAFCalloutBox variant="tip" title="Pro tip">
  Pair this with the X-Axis mount for the cleanest desk setup.
</XAFCalloutBox>

Props

PropTypeDefaultDescription
variant'info' | 'success' | 'warning' | 'danger' | 'tip''info'Color and icon preset.
titlestringOptional heading.
iconstringvariant defaultOverride the leading emoji / icon.

Slots

SlotDescription
defaultCallout body content.
iconOverride the leading icon.

AI Context

component: XAFCalloutBox
package: "@xenterprises/nuxt-x-affiliate"
use-when: Colored callout box (info / success / warning / danger / tip) for highlighting in-content notes.
Copyright © 2026