1. tailwind components
  2. ›
  3. disclosures

Disclosures

Toggle the visibility of collapsible content using the native HTML details element.

How long does shipping take?

Standard orders ship within 1-2 business days and arrive in 3-5 business days. Expedited shipping is available at checkout for next-day delivery in most regions.

Group

Wrap with disclosure-group and share a name attribute so only one item stays open at a time.

How long does shipping take?

Standard orders ship within 1-2 business days and arrive in 3-5 business days. Expedited shipping is available at checkout for next-day delivery in most regions.


What is your return policy?

Returns are accepted within 30 days of delivery. Items must be unused and in their original packaging. We provide a prepaid return label for orders over $50.


Do you ship internationally?

Yes, we ship to over 60 countries. International orders typically arrive within 7-14 business days, and any applicable customs fees are calculated at checkout.

Open

Add the open attribute to render a disclosure expanded by default.

How long does shipping take?

Standard orders ship within 1-2 business days and arrive in 3-5 business days. Expedited shipping is available at checkout for next-day delivery in most regions.

Animation

The slide animation is a progressive enhancement via ::details-content and interpolate-size: allow-keywords. For unsupported browsers this will fall back to the native instant toggle.

View page on GitHub