ttolbel UI

Component

Info banner

A tinted, full-width banner in one of four severities, each with its own icon and color, with optional title, action button, and dismiss.

Standalone

Couldn't sync

We sent your changes, but haven't heard back yet. You can retry or wait a little longer.

info banner.tsx
<NativeInfoBanner
  variant="warning"
  title="Couldn't sync"
  message="We sent your changes, but haven't heard back yet. You can retry or wait a little longer."
  action={{ label: "Retry", onPress: () => {} }}
/>

Example

A warning with its retry action built directly into the banner, no separate button row beneath it.

Changes saved

Your changes were saved successfully.

Couldn't sync

We sent it, but haven't heard back yet.

info-banner-example.tsx
<NativeInfoBanner variant="success" title="Changes saved" message="Your changes were saved successfully." dismissible />
<NativeInfoBanner
  variant="warning"
  title="Couldn't sync"
  message="We sent it, but haven't heard back yet."
  action={{ label: "Retry", onPress: onRetry }}
/>

Capabilities

PropTypeDescription
variantNativeInfoBannerVariant-
titlestring-
messagerequiredReact.ReactNode-
dismissibleboolean-
action{ label: string; onPress: () => void; color?: string }-
classNamestring-