Skip to content
One Insurance

Components

Empty & loading states

Explain what has happened, what will appear here, and what someone can do next.

Usage & approach

Empty states should name the missing content and provide a useful next step. Loading placeholders remain static in this library. Set aria-busy only while a real request is running and announce completion in the host application.

Specifications

Empty state
border border-dashed rounded-lg p-8 text-center
Loading
bg-[#f1f2f0] dark:bg-[#303232]; no animate-* utilities
Content
Heading + explanation + one next action.
Accessibility
Visible loading text; decorative placeholders aria-hidden.

No policies yet

A restrained empty state with a next step.

HTML + Tailwind CSS · fit to panel

Loading appearance

Static placeholders establish layout without adding animation.

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.