Slide up/down animation

Two complementary triggers ship together: slideUpDown accepts a boolean and animates an always-rendered element's height between zero and its natural size, while slideUpDownNgif is wired to the enter/leave lifecycle for use inside @if blocks. Wrap the target in overflow-hidden so the collapsing height clips its content.

Basic usage