Skip to content
One Insurance

Components

Tables

Compare structured records with aligned values, clear headers, and restrained row separators.

Usage & approach

Use a real table with a caption and scope="col" headers. Right-align amounts with tabular-nums. On small screens, preserve column relationships in an overflow-x-auto wrapper. Do not imply sorting unless it is implemented.

Specifications

Wrapper
overflow-x-auto rounded-lg border
Header
bg-[#f1f2f0] text-left text-xs font-semibold
Cells
px-4 py-4 text-sm
Amounts
text-right tabular-nums

Policy records

Fictional policy rows. A narrow preview scrolls horizontally instead of compressing the data.

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.