Status badge

Workflow states for payments, disputes, and settlements.

Preview

Interactive examples use the same @flux/ui build as production. Toggle theme in the header for light and dark. Motion tokens and layout patterns live under Motion and Patterns in the sidebar.

Live preview

Sizes

SettledSettled

All variants

SuccessSettledSent for captureIn progressPendingSent for reviewRefundedRefund startedFailedIssuer declineAction requiredUnder reviewDraftUnknown

Installation

Add the package to your app (full Next.js + Tailwind steps on Installation):

npm install @payglocal_ui/flux-ui

Usage

Import

import { StatusBadge } from "@payglocal_ui/flux-ui";

Example

<StatusBadge variant="success" label="Settled" trailIcon="check" />
<StatusBadge variant="warning" label="Pending" />
<StatusBadge variant="danger"  label="Failed"  trailIcon="x" />