# lu-show `lu-show` toggles the visibility of an element by manipulating its CSS `display` property. ## Basic Usage ```html

Hello!

``` ## Behavior `lu-show` works by adding an inline `display: none` style to the element when the expression is false. When the expression is true, it restores the element's original `display` value (either from an existing inline style or the default for that element type). ### Preservation of Initial State Lune intelligently stores the initial `display` property of your element when the application is mounted. This means if your element was originally `display: flex` or `display: inline-block`, `lu-show` will correctly restore that state. ## Comparison with `lu-if` While `lu-if` and `lu-show` both conditionally control visibility, they have different trade-offs: | Feature | `lu-if` | `lu-show` | | ------------------------- | -------------------------------------- | -------------------------------- | | **DOM Persistence** | Element is added/removed from DOM | Element is **always** in the DOM | | **Initial Render Cost** | Low (only renders when true) | High (always renders everything) | | **Toggle Cost** | High (must re-run templates and hooks) | Low (just a CSS property change) | | **Supports `