Skip to content
One Insurance

Components

Accordions

Use progressive disclosure to keep supporting information available without overwhelming the main task.

Usage & approach

Native details and summary provide keyboard interaction without JavaScript. Keep essential terms and required actions visible outside collapsed content. Disclosures animate on opening and closing, respecting reduced-motion preferences.

Specifications

Container
rounded-lg border border-[#dfe7df]
Summary
cursor-pointer p-4 text-sm font-semibold
Body
px-4 pb-4 text-base leading-7
State
Native open attribute for the initial expanded item.

Coverage questions

Working native disclosure controls with one item expanded initially.

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.