Skip to content
One Insurance

Components

Badges & status

Short, explicit labels communicate policy and workflow states at a glance.

Usage & approach

Never rely on color alone: keep a visible status label. Green means a successful or active state; amber and red are supporting semantic colors introduced for feedback. They are not logo colors. Badges describe state and are not buttons.

Specifications

Shape
inline-flex rounded-md px-2.5 py-1
Type
text-xs font-medium
Success
bg-[#f1f2f0] text-[#006838]
Semantics
Text labels accompany every color.

Status treatments

Active, pending, failed, and draft states with dark-mode equivalents.

HTML + Tailwind CSS · fit to panel

Bring this into your project

Copy the HTML from the code panel. Keep complete utility names in files scanned by Tailwind, retain accessible labels and focus styles, and connect actions to your own application. Preview controls belong to this documentation and are not part of the copied example.

IFRC One Insurance · UI Reference
Tailwind CSS v4.3.3 · Visual examples, ready to adapt.