Collapsible overview
Collapsible provides a lightweight disclosure wrapper for progress indicators, summaries, and compact reveal panels. The component ships a baseline shell on top of the headless primitive so you can adopt it quickly and still style the projected content yourself.
Imports
Use the wrapper component when you want the built-in trigger shell and content container.
Component import
ts
import { TngCollapsibleComponent } from '@tailng-ui/components';Progress indicator variants
The same wrapper component rendered with a plain CSS shell or Tailwind utility wrapper.
Plain CSS progress collapsible
- ✓ Draft
- 2 Review
- 3 Publish
Tailwind progress collapsible
- ✓ Draft
- 2 Review
- 3 Publish
Accessibility baseline
- The wrapper uses a native button trigger with
aria-expandedandaria-controls. - The content region is hidden when closed and stays in the correct document order when open.
- Projected step states such as current, complete, or error remain owner-authored semantics.