Skip to content

Inline Message

InlineMessage is a compact inline status indicator. Use it next to form fields, table cells, or other content to provide contextual status without taking up significant space.

All appearances

Tailwind v4
vue
<InlineMessage appearance="info" message="This field is required for Sage sync." />
<InlineMessage appearance="success" message="Email address verified." />
<InlineMessage appearance="warning" message="Value is outside the expected range." />
<InlineMessage appearance="error" message="This field cannot be blank." />
<InlineMessage appearance="connectivity" message="Connecting to server…" />

With secondary text

Tailwind v4
vue
<InlineMessage appearance="success" message="Saved" secondary-text="just now" />
<InlineMessage appearance="warning" message="Draft" secondary-text="unsaved changes" />
<InlineMessage appearance="connectivity" message="Offline" secondary-text="last synced 3m ago" />

Slot usage

Use the default slot instead of the message prop when you need richer content.

Tailwind v4
vue
<InlineMessage appearance="info">
  Required for <strong>Sage sync</strong>
</InlineMessage>

Props

PropTypeDefaultDescription
appearance'info' | 'warning' | 'error' | 'success' | 'connectivity''info'Color scheme and icon
messagestringPrimary message text (overridden by default slot)
secondaryTextstringDimmed secondary text rendered after the message

Slots

SlotDescription
defaultReplaces the message prop with richer content

Private — Jetpack Labs internal use only