Zalify UI beautifully-designed, accessible components system and code distribution platform. Built with Panda CSS and supporting a wide range of JS frameworks
React
Usage
Examples
Lazy Mount
Use the lazyMount prop to mount the content only when the collapsible is open.
React
Unmount on Exit
Use the unmountOnExit prop to unmount the content when the collapsible is closed.
If you inspect the DOM, you'll notice that the content will be initially mounted and unmounted when collapsed. This is useful for improving performance and preventing background processes (like timers or API calls) from running when the content is hidden.
React