Switch plans to see how x-if replaces DOM content entirely, then toggle billing to see how x-show preserves your typed input.

Use x-if / x-else-if / x-else when content changes completely. Use x-show when you need to hide elements without destroying their state.

Xactus UI library

A lightweight, reactive UI library for building interactive web interfaces with ease.

CODE