ComponentsCollapse
Collapse
Reveal optional content without leaving the current view.
Review checklist
Confirm that reviewers can open the linked files.
Review notes
Include a short decision summary and a named owner for each open question.
Setup
Download the shared Inlay assets once. Then choose HTML, React, or Vue and copy the example above.
File tree
Expand a folder to reveal its contents.
Design handoff
- Project brief
- Interaction notes
- Review checklist
Usage
| Semantics | Use a single native details element and put its label in summary. Add open when the content starts visible. |
|---|---|
| Motion | Combine ilui-accordion with the shared disclosure styles. Browsers that cannot animate the height retain native disclosure behavior. |