Collapsible directive